From 92b6974dfdeb7232f631ba5cd9429a2af9a4ce60 Mon Sep 17 00:00:00 2001 From: test262-automation Date: Fri, 7 Sep 2018 18:22:08 +0000 Subject: [PATCH 1/2] [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) --- .../stress/math-pow-nan-to-zero-spec-type.js | 21 +++++++++++++++++++ .../regress}/regress-189185.js | 3 +-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 implementation-contributed/javascriptcore/stress/math-pow-nan-to-zero-spec-type.js rename implementation-contributed/javascriptcore/{stress => wasm/regress}/regress-189185.js (70%) diff --git a/implementation-contributed/javascriptcore/stress/math-pow-nan-to-zero-spec-type.js b/implementation-contributed/javascriptcore/stress/math-pow-nan-to-zero-spec-type.js new file mode 100644 index 0000000000..24553a5342 --- /dev/null +++ b/implementation-contributed/javascriptcore/stress/math-pow-nan-to-zero-spec-type.js @@ -0,0 +1,21 @@ +// 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); + diff --git a/implementation-contributed/javascriptcore/stress/regress-189185.js b/implementation-contributed/javascriptcore/wasm/regress/regress-189185.js similarity index 70% rename from implementation-contributed/javascriptcore/stress/regress-189185.js rename to implementation-contributed/javascriptcore/wasm/regress/regress-189185.js index 14b901e7ca..d2588ad31f 100644 --- a/implementation-contributed/javascriptcore/stress/regress-189185.js +++ b/implementation-contributed/javascriptcore/wasm/regress/regress-189185.js @@ -1,5 +1,4 @@ -//@ skip if $architecture == "x86" -//@ runDefault +//@ runWebAssembly // This passes if it does not crash. new WebAssembly.CompileError({ valueOf() { From 00e3c1a82f210494d1fd1716524c926f9d628a4e Mon Sep 17 00:00:00 2001 From: test262-automation Date: Fri, 7 Sep 2018 18:22:11 +0000 Subject: [PATCH 2/2] [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files. sourceRevisionAtLastExport: a2f7b0c562 targetRevisionAtLastExport: 5594c916b --- implementation-contributed/curation_logs/javascriptcore.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/implementation-contributed/curation_logs/javascriptcore.json b/implementation-contributed/curation_logs/javascriptcore.json index 8c13dab716..65375ace22 100644 --- a/implementation-contributed/curation_logs/javascriptcore.json +++ b/implementation-contributed/curation_logs/javascriptcore.json @@ -1,6 +1,6 @@ { - "sourceRevisionAtLastExport": "a2f7b0c562", - "targetRevisionAtLastExport": "5594c916b", + "sourceRevisionAtLastExport": "873fa026de", + "targetRevisionAtLastExport": "92b6974df", "curatedFiles": { "/stress/Number-isNaN-basics.js": "DELETED_IN_TARGET", "/stress/Object_static_methods_Object.getOwnPropertyDescriptors-proxy.js": "DELETED_IN_TARGET",