Skip to content
Snippets Groups Projects
Commit 92b6974d authored by test262-automation's avatar test262-automation
Browse files

[javascriptcore-test262-automation] Changes from...

[javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha a2f7b0c562 on Fri Sep 07 2018 18:19:35 GMT+0000 (Coordinated Universal Time)
parent f10582ee
No related branches found
No related tags found
No related merge requests found
// Verify that we have the correct speculation checks for Math.pow(NaN, 0).
function func(x) {
return fiatInt52(Math.pow(NaN, (x > 1)));
};
noInline(func);
function test(f)
{
for (let i = 0; i < 10000; ++i) {
if (f(0) != 1)
throw "Wrong expected value";
if (f(1) != 1)
throw "Wrong expected value";
}
}
test(func);
//@ skip if $architecture == "x86" //@ runWebAssembly
//@ runDefault
// This passes if it does not crash. // This passes if it does not crash.
new WebAssembly.CompileError({ new WebAssembly.CompileError({
valueOf() { valueOf() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment