From 92143ed8c7aedffb35451f5ee281445e3b367208 Mon Sep 17 00:00:00 2001 From: test262-automation <test262-automation@bocoup.com> Date: Wed, 3 Oct 2018 18:37:00 +0000 Subject: [PATCH] [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 7b32eb8c on Wed Oct 03 2018 18:36:24 GMT+0000 (Coordinated Universal Time) --- .../v8/mjsunit/compiler/number-abs.js | 76 +++++++++++++++++++ .../v8/mjsunit/compiler/number-modulus.js | 31 ++++++++ .../v8/mjsunit/compiler/regress-7121.js | 2 +- .../compiler/typed-array-constructor.js | 2 +- .../v8/mjsunit/es6/proxy-function-tostring.js | 5 +- .../v8/mjsunit/harmony/bigint/add.js | 2 - .../v8/mjsunit/harmony/bigint/and.js | 2 - .../v8/mjsunit/harmony/bigint/as-int-n.js | 2 - .../v8/mjsunit/harmony/bigint/basics.js | 2 +- .../v8/mjsunit/harmony/bigint/comparisons.js | 2 +- .../v8/mjsunit/harmony/bigint/dataview.js | 2 - .../v8/mjsunit/harmony/bigint/dec.js | 2 - .../v8/mjsunit/harmony/bigint/div.js | 2 - .../v8/mjsunit/harmony/bigint/exp.js | 2 +- .../v8/mjsunit/harmony/bigint/inc.js | 2 - .../v8/mjsunit/harmony/bigint/json.js | 2 +- .../v8/mjsunit/harmony/bigint/mod.js | 2 - .../v8/mjsunit/harmony/bigint/mul.js | 2 - .../v8/mjsunit/harmony/bigint/neg.js | 2 - .../v8/mjsunit/harmony/bigint/not.js | 2 - .../v8/mjsunit/harmony/bigint/or.js | 2 - .../harmony/bigint/regress-tonumbercode.js | 2 +- .../v8/mjsunit/harmony/bigint/regressions.js | 2 - .../v8/mjsunit/harmony/bigint/sar.js | 2 - .../v8/mjsunit/harmony/bigint/shl.js | 2 - .../v8/mjsunit/harmony/bigint/sub.js | 2 - .../v8/mjsunit/harmony/bigint/tonumber.js | 2 - .../v8/mjsunit/harmony/bigint/turbo.js | 2 +- .../v8/mjsunit/harmony/bigint/typedarray.js | 2 +- .../v8/mjsunit/harmony/bigint/xor.js | 2 - .../bigintarray-keyedstore-tobigint.js | 2 - .../v8/mjsunit/harmony/function-tostring.js | 2 - .../v8/mjsunit/regress/regress-707066.js | 2 - .../v8/mjsunit/string-trim.js | 2 - .../v8/test262/testcfg.py | 1 - 35 files changed, 118 insertions(+), 57 deletions(-) create mode 100644 implementation-contributed/v8/mjsunit/compiler/number-abs.js diff --git a/implementation-contributed/v8/mjsunit/compiler/number-abs.js b/implementation-contributed/v8/mjsunit/compiler/number-abs.js new file mode 100644 index 0000000000..9eb8ab5bb5 --- /dev/null +++ b/implementation-contributed/v8/mjsunit/compiler/number-abs.js @@ -0,0 +1,76 @@ +// Copyright 2018 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Flags: --allow-natives-syntax --opt + +// Test that NumberAbs correctly deals with PositiveInteger \/ MinusZero +// and turns the -0 into a 0. +(function() { + function foo(x) { + x = Math.floor(x); + x = Math.max(x, -0); + return 1 / Math.abs(x); + } + + assertEquals(Infinity, foo(-0)); + assertEquals(Infinity, foo(-0)); + %OptimizeFunctionOnNextCall(foo); + assertEquals(Infinity, foo(-0)); +})(); + +// Test that NumberAbs properly passes the kIdentifyZeros truncation +// for Signed32 \/ MinusZero inputs. +(function() { + function foo(x) { + return Math.abs(x * -2); + } + + assertEquals(2, foo(-1)); + assertEquals(4, foo(-2)); + %OptimizeFunctionOnNextCall(foo); + assertEquals(2, foo(-1)); + assertEquals(4, foo(-2)); + assertOptimized(foo); + // Now `foo` should stay optimized even if `x * -2` would produce `-0`. + assertEquals(0, foo(0)); + assertOptimized(foo); +})(); + +// Test that NumberAbs properly passes the kIdentifyZeros truncation +// for Unsigned32 \/ MinusZero inputs. +(function() { + function foo(x) { + x = x | 0; + return Math.abs(Math.max(x * -2, 0)); + } + + assertEquals(2, foo(-1)); + assertEquals(4, foo(-2)); + %OptimizeFunctionOnNextCall(foo); + assertEquals(2, foo(-1)); + assertEquals(4, foo(-2)); + assertOptimized(foo); + // Now `foo` should stay optimized even if `x * -2` would produce `-0`. + assertEquals(0, foo(0)); + assertOptimized(foo); +})(); + +// Test that NumberAbs properly passes the kIdentifyZeros truncation +// for OrderedNumber inputs. +(function() { + function foo(x) { + x = x | 0; + return Math.abs(Math.min(x * -2, 2 ** 32)); + } + + assertEquals(2, foo(-1)); + assertEquals(4, foo(-2)); + %OptimizeFunctionOnNextCall(foo); + assertEquals(2, foo(-1)); + assertEquals(4, foo(-2)); + assertOptimized(foo); + // Now `foo` should stay optimized even if `x * -2` would produce `-0`. + assertEquals(0, foo(0)); + assertOptimized(foo); +})(); diff --git a/implementation-contributed/v8/mjsunit/compiler/number-modulus.js b/implementation-contributed/v8/mjsunit/compiler/number-modulus.js index cccb93b803..77d6773f4a 100644 --- a/implementation-contributed/v8/mjsunit/compiler/number-modulus.js +++ b/implementation-contributed/v8/mjsunit/compiler/number-modulus.js @@ -123,3 +123,34 @@ assertEquals(1, foo(4)); assertOptimized(foo); })(); + +// Test that NumberModulus works in the case where TurboFan +// can infer that the output is Signed32 \/ MinusZero, and +// there's a truncation on the result that identifies zeros +// (via the SpeculativeNumberEqual). +(function() { + // We need a separately polluted % with NumberOrOddball feedback. + function bar(x) { return x % 2; } + bar(undefined); // The % feedback is now NumberOrOddball. + + // Now we just use the gadget above on an `x` that is known + // to be in Signed32 range and compare it to 0, which passes + // a truncation that identifies zeros. + function foo(x) { + if (bar(x | 0) == 0) return 0; + return 1; + } + + assertEquals(0, foo(2)); + assertEquals(1, foo(1)); + %OptimizeFunctionOnNextCall(foo); + assertEquals(0, foo(2)); + assertEquals(1, foo(1)); + assertOptimized(foo); + + // Now `foo` should stay optimized even if `x % 2` would + // produce -0, aka when we pass a negative value for `x`. + assertEquals(0, foo(-2)); + assertEquals(1, foo(-1)); + assertOptimized(foo); +})(); diff --git a/implementation-contributed/v8/mjsunit/compiler/regress-7121.js b/implementation-contributed/v8/mjsunit/compiler/regress-7121.js index 98c1a1ac19..bdf3133bb8 100644 --- a/implementation-contributed/v8/mjsunit/compiler/regress-7121.js +++ b/implementation-contributed/v8/mjsunit/compiler/regress-7121.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax function foo() { %_ToLength(42n) } assertThrows(foo, TypeError); diff --git a/implementation-contributed/v8/mjsunit/compiler/typed-array-constructor.js b/implementation-contributed/v8/mjsunit/compiler/typed-array-constructor.js index a785eadf37..07d6a7ca4e 100644 --- a/implementation-contributed/v8/mjsunit/compiler/typed-array-constructor.js +++ b/implementation-contributed/v8/mjsunit/compiler/typed-array-constructor.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax const limit = %MaxSmi() + 1; diff --git a/implementation-contributed/v8/mjsunit/es6/proxy-function-tostring.js b/implementation-contributed/v8/mjsunit/es6/proxy-function-tostring.js index d859822df0..e151bf65b1 100644 --- a/implementation-contributed/v8/mjsunit/es6/proxy-function-tostring.js +++ b/implementation-contributed/v8/mjsunit/es6/proxy-function-tostring.js @@ -1,7 +1,6 @@ // Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// -// Flags: --noharmony-function-tostring -assertThrows(() => new Proxy(function() {}, {}).toString(), TypeError); +assertEquals(new Proxy(function() {}, {}).toString(), + 'function () { [native code] }'); diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/add.js b/implementation-contributed/v8/mjsunit/harmony/bigint/add.js index 5e986b3726..791db6a3b9 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/add.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/add.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: -0xc4043e2c4cc49e4d6870103ce7c2ff2d512bf4b1b67553ba410db514ee0af8888ad6cfn, b: 0x2aae86de73ff479133a657a40d26e8dcf192019c7421836615ec34978bad93n, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/and.js b/implementation-contributed/v8/mjsunit/harmony/bigint/and.js index 7a68f8b3dc..a90ec22f51 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/and.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/and.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0x9252b94f220ded0c18706998886397699c5a25527575dn, b: -0x286817ba2e8fd8n, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/as-int-n.js b/implementation-contributed/v8/mjsunit/harmony/bigint/as-int-n.js index 51b5073d24..154a0929e5 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/as-int-n.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/as-int-n.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-bigint - // BigInt.asIntN { assertEquals(2, BigInt.asIntN.length); diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/basics.js b/implementation-contributed/v8/mjsunit/harmony/bigint/basics.js index b6318d5324..0368c69b52 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/basics.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/basics.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax 'use strict' diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/comparisons.js b/implementation-contributed/v8/mjsunit/harmony/bigint/comparisons.js index 513131555a..abc7a8082a 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/comparisons.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/comparisons.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax 'use strict' diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/dataview.js b/implementation-contributed/v8/mjsunit/harmony/bigint/dataview.js index 5ead649909..bad56d2b69 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/dataview.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/dataview.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-bigint - var buffer = new ArrayBuffer(64); var dataview = new DataView(buffer, 8, 24); var bytes = new Uint8Array(buffer); diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/dec.js b/implementation-contributed/v8/mjsunit/harmony/bigint/dec.js index ddb0431cba..36ca2193de 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/dec.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/dec.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0x26ffcdbd233a53e7ca4612f2b02e1f2c1d885c3177e7n, r: 0x26ffcdbd233a53e7ca4612f2b02e1f2c1d885c3177e6n diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/div.js b/implementation-contributed/v8/mjsunit/harmony/bigint/div.js index 1eeea1184f..8b167140de 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/div.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/div.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: -0x1e0f357314bac34227333c0c2086430dae88cb538f161174888591n, b: 0x390n, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/exp.js b/implementation-contributed/v8/mjsunit/harmony/bigint/exp.js index 54d5849373..7fbc2dc402 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/exp.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/exp.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax assertEquals(1n, (-1n) ** 0n); assertEquals(-1n, (-1n) ** 1n); diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/inc.js b/implementation-contributed/v8/mjsunit/harmony/bigint/inc.js index 4ead89e1bf..7842600393 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/inc.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/inc.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0xb3df90n, r: 0xb3df91n diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/json.js b/implementation-contributed/v8/mjsunit/harmony/bigint/json.js index eb0eefc4bb..cf392234c5 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/json.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/json.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax 'use strict' diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/mod.js b/implementation-contributed/v8/mjsunit/harmony/bigint/mod.js index c8cc7fa4fd..01f64ad4ca 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/mod.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/mod.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0xaed3c714bb42a73d708bcf1dc9a9deebadc913ef42bac6a6178a60n, b: -0xf3d6bd1c059b79n, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/mul.js b/implementation-contributed/v8/mjsunit/harmony/bigint/mul.js index c6a9ae6148..77c3a1c9bb 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/mul.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/mul.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0x2bf1f236c2df29f7c99be052dfe1b69ae158d777fea487af889f6259f472c0n, b: -0xae0090dfn, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/neg.js b/implementation-contributed/v8/mjsunit/harmony/bigint/neg.js index 2fedf297a5..15b2fb4ee0 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/neg.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/neg.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0xcn, r: -0xcn diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/not.js b/implementation-contributed/v8/mjsunit/harmony/bigint/not.js index 6b4b2eb713..27b6a78ba6 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/not.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/not.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0x9f0305cd75e4n, r: -0x9f0305cd75e5n diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/or.js b/implementation-contributed/v8/mjsunit/harmony/bigint/or.js index c378e141cd..3203258c21 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/or.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/or.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0x77a87n, b: 0xde08e7433fb9584911b8cb4bc7eed802299b4489fc635974d063847da4e8b461df5dn, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/regress-tonumbercode.js b/implementation-contributed/v8/mjsunit/harmony/bigint/regress-tonumbercode.js index 4dedf4d27c..3bf0148c95 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/regress-tonumbercode.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/regress-tonumbercode.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax function f(x, b) { if (b) return Math.trunc(+(x)) diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js b/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js index c1df45a1b1..8e13622eab 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-bigint - var a = 5n; var b = a / -1n; assertEquals(5n, a); diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/sar.js b/implementation-contributed/v8/mjsunit/harmony/bigint/sar.js index f66115dcb6..66d2f2d268 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/sar.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/sar.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0x211a34fn, b: 0xa6n, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/shl.js b/implementation-contributed/v8/mjsunit/harmony/bigint/shl.js index bedd785b54..0e7b402bc1 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/shl.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/shl.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: -0xe813d76adc0a177778c0c232c595e8572b783210f4a7009d7c1787n, b: 0x9en, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/sub.js b/implementation-contributed/v8/mjsunit/harmony/bigint/sub.js index a1ff9b4bb3..21613f768a 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/sub.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/sub.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: 0xc4fd438551d58edn, b: 0x91b42ee55a50d974an, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/tonumber.js b/implementation-contributed/v8/mjsunit/harmony/bigint/tonumber.js index d59e8429b8..a6f7d13b7e 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/tonumber.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/tonumber.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-bigint - function Check(bigint, number_string) { var number = Number(bigint); if (number_string.substring(0, 2) === "0x") { diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/turbo.js b/implementation-contributed/v8/mjsunit/harmony/bigint/turbo.js index 4ce4880f3d..d0f00050c8 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/turbo.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/turbo.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --allow-natives-syntax --harmony-bigint +// Flags: --allow-natives-syntax 'use strict' diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/typedarray.js b/implementation-contributed/v8/mjsunit/harmony/bigint/typedarray.js index 29713b8a20..e530441dd4 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/typedarray.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/typedarray.js @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-bigint --allow-natives-syntax +// Flags: --allow-natives-syntax var intarray = new BigInt64Array(8); var uintarray = new BigUint64Array(8); diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/xor.js b/implementation-contributed/v8/mjsunit/harmony/bigint/xor.js index a934825bd9..cf32b65603 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/xor.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/xor.js @@ -4,8 +4,6 @@ // Generated by tools/bigint-tester.py. -// Flags: --harmony-bigint - var data = [{ a: -0x46505bec40d461c595b5e4be178b7d00n, b: -0x9170e5437d4e3ec7c0971e2c6d3bbbd2929ff108ea4ee64f7a91aa367fn, diff --git a/implementation-contributed/v8/mjsunit/harmony/bigintarray-keyedstore-tobigint.js b/implementation-contributed/v8/mjsunit/harmony/bigintarray-keyedstore-tobigint.js index 29b44472c9..18ba0ff171 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigintarray-keyedstore-tobigint.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigintarray-keyedstore-tobigint.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-bigint - let TypedArrayConstructors = [ BigUint64Array, BigInt64Array, diff --git a/implementation-contributed/v8/mjsunit/harmony/function-tostring.js b/implementation-contributed/v8/mjsunit/harmony/function-tostring.js index 4a7e93cd3b..2af14f16cf 100644 --- a/implementation-contributed/v8/mjsunit/harmony/function-tostring.js +++ b/implementation-contributed/v8/mjsunit/harmony/function-tostring.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-function-tostring - var prefix = "/*before*/"; var suffix = "/*after*/"; diff --git a/implementation-contributed/v8/mjsunit/regress/regress-707066.js b/implementation-contributed/v8/mjsunit/regress/regress-707066.js index b33b585ebd..b5d70c2e6b 100644 --- a/implementation-contributed/v8/mjsunit/regress/regress-707066.js +++ b/implementation-contributed/v8/mjsunit/regress/regress-707066.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// Flags: --harmony-function-tostring - // There was a bug in CreateDynamicFunction where a stack overflow // situation caused an assertion failure. diff --git a/implementation-contributed/v8/mjsunit/string-trim.js b/implementation-contributed/v8/mjsunit/string-trim.js index 201a34f1c9..587e7db5db 100644 --- a/implementation-contributed/v8/mjsunit/string-trim.js +++ b/implementation-contributed/v8/mjsunit/string-trim.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --harmony-string-trimming - assertEquals('trim', String.prototype.trim.name); assertEquals('trimStart', String.prototype.trimStart.name); assertEquals('trimStart', String.prototype.trimLeft.name); diff --git a/implementation-contributed/v8/test262/testcfg.py b/implementation-contributed/v8/test262/testcfg.py index bb3114e64f..9c3f3404e1 100644 --- a/implementation-contributed/v8/test262/testcfg.py +++ b/implementation-contributed/v8/test262/testcfg.py @@ -42,7 +42,6 @@ from testrunner.outproc import test262 # TODO(littledan): move the flag mapping into the status file FEATURE_FLAGS = { - 'BigInt': '--harmony-bigint', 'class-fields-public': '--harmony-public-fields', 'class-static-fields-public': '--harmony-class-fields', 'Array.prototype.flat': '--harmony-array-flat', -- GitLab