Commit a6883128 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[bigint] Remove --no-opt flag from various mjsunit tests.

These now pass even when forcing optimization.

TBR=jkummerow@chromium.org

Bug: v8:6791
Change-Id: I4d7c7d37b48e6e970d33474fa7fd637e34b0bda0
Reviewed-on: https://chromium-review.googlesource.com/803374Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49781}
parent bc293c24
......@@ -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 --noopt
// Flags: --harmony-bigint
// BigInt.asIntN
{
......
......@@ -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 --no-opt
// Flags: --allow-natives-syntax --harmony-bigint
'use strict'
......@@ -105,14 +105,6 @@ const six = BigInt(6);
assertTrue(typeof 1n === "bigint");
assertFalse(typeof 1n === "BigInt");
assertFalse(typeof 1 === "bigint");
}{
// TODO(neis): Enable once --no-opt can be removed.
//
// function Typeof(x) { return typeof x }
// assertEquals(Typeof(zero), "bigint");
// assertEquals(Typeof(zero), "bigint");
// %OptimizeFunctionOnNextCall(Typeof);
// assertEquals(Typeof(zero), "bigint");
}
// ToString
......
......@@ -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 --no-opt
// Flags: --allow-natives-syntax --harmony-bigint
'use strict'
......
......@@ -6,9 +6,6 @@
// Flags: --harmony-bigint
// TODO(adamk/jkummerow/neis): Support BigInts in TF unary ops.
// Flags: --noopt
var data = [{
a: "-609648ccf253976b12f6b6c8e20790c17ef6b89ea9f536267783607cf465b1ca",
r: "-609648ccf253976b12f6b6c8e20790c17ef6b89ea9f536267783607cf465b1cb"
......
......@@ -6,9 +6,6 @@
// Flags: --harmony-bigint
// TODO(adamk/jkummerow/neis): Support BigInts in TF unary ops.
// Flags: --noopt
var data = [{
a: "-989c298c6fc3",
r: "-989c298c6fc2"
......
......@@ -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 --no-opt
// Flags: --allow-natives-syntax --harmony-bigint
'use strict'
......
......@@ -6,9 +6,6 @@
// Flags: --harmony-bigint
// TODO(adamk/jkummerow/neis): Support BigInts in TF unary ops.
// Flags: --noopt
var data = [{
a: "58ad59aa3aa9d04d4c12493966e204ef0500d5f92ecb31",
r: "-58ad59aa3aa9d04d4c12493966e204ef0500d5f92ecb31"
......
......@@ -6,9 +6,6 @@
// Flags: --harmony-bigint
// TODO(adamk/jkummerow/neis): Support BigInts in TF unary ops.
// Flags: --noopt
var data = [{
a: "3d02c87edc77722299f6559ecca038911f864a4e78c20af80f4a6d9",
r: "-3d02c87edc77722299f6559ecca038911f864a4e78c20af80f4a6da"
......
......@@ -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 --noopt
// Flags: --harmony-bigint
var a = 5n;
var b = a / -1n;
......
......@@ -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 --no-opt
// Flags: --harmony-bigint
function Check(bigint, number_string) {
var number = Number(number_string);
......
......@@ -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 --no-opt
// Flags: --harmony-bigint
const MAX_BIGINT_BITS = 1024 * 1024; // Matches BigInt::kMaxLengthBits
const MAX_BIGINT_CHARS = MAX_BIGINT_BITS / 4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment