Commit 3e9a7aff authored by Wiktor Garbacz's avatar Wiktor Garbacz Committed by Commit Bot

[mjsunit] Remove non-existing flags from tests.

BUG=v8:6325

Change-Id: I5a638c47b33d6e75d31f020c499ffd084348fea4
Reviewed-on: https://chromium-review.googlesource.com/489505
Commit-Queue: Wiktor Garbacz <wiktorg@google.com>
Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Reviewed-by: 's avatarDaniel Clifford <danno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45010}
parent c1e24b60
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --noturbo-osr --noturbo-inlining // Flags: --noturbo-inlining
var stdlib = this; var stdlib = this;
var buffer = new ArrayBuffer(64 * 1024); var buffer = new ArrayBuffer(64 * 1024);
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --min-preparse-length=10
var source = var source =
"var foo = function foo() {\n" + "var foo = function foo() {\n" +
" return 1;\n" + " return 1;\n" +
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --use-escape-analysis --max-opt-count=100 // Flags: --allow-natives-syntax --use-escape-analysis
// This tests that captured objects materialized through the deoptimizer // This tests that captured objects materialized through the deoptimizer
// have field descriptors with a representation matching the values that // have field descriptors with a representation matching the values that
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --inline-accessors --max-opt-count=100 // Flags: --allow-natives-syntax --inline-accessors
var accessorCallCount, setterArgument, setterValue, obj, forceDeopt; var accessorCallCount, setterArgument, setterValue, obj, forceDeopt;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --max-opt-count=100 // Flags: --allow-natives-syntax
function A() { function A() {
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-type-feedback // Flags: --allow-natives-syntax
function f(x) { function f(x) {
var s = x ? "0" : "1"; var s = x ? "0" : "1";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-type-feedback // Flags: --allow-natives-syntax
(function AddSubtractSmis() { (function AddSubtractSmis() {
function f0(a, b, c) { function f0(a, b, c) {
......
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --cache=code --no-lazy --serialize-inner // Flags: --allow-natives-syntax --cache=code --no-lazy --opt
// Flags: --opt
function f(x, y) { return x + y; } function f(x, y) { return x + y; }
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --min-preparse-length=0
function variadic(co, ...values) { function variadic(co, ...values) {
var sum = 0; var sum = 0;
while (values.length) { while (values.length) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --min-preparse-length=1 --allow-natives-syntax --lazy-inner-functions // Flags: --allow-natives-syntax --lazy-inner-functions
// Test that the information on which variables to allocate in context doesn't // Test that the information on which variables to allocate in context doesn't
// change when recompiling. // change when recompiling.
......
...@@ -25,17 +25,7 @@ ...@@ -25,17 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --max-opt-count=100 --noalways-opt // Flags: --allow-natives-syntax --noalways-opt --opt
// Flags: --nocollect-maps --opt
// We specify max-opt-count because we opt/deopt the same function many
// times.
// We specify nocollect-maps because in gcstress we can end up deoptimizing
// a function in a gc in the stack guard at the beginning of the (optimized)
// function due to leftover map clearing work that results in deoptimizing
// dependent code from those maps. The choice is to insert strategic gc()
// calls or specify this flag.
// It's nice to run this in other browsers too. // It's nice to run this in other browsers too.
var standalone = false; var standalone = false;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --max-opt-count=1000 // Flags: --allow-natives-syntax
var imul_func = Math.imul; var imul_func = Math.imul;
function imul_polyfill(a, b) { function imul_polyfill(a, b) {
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --enable-fast-array-builtins
var a = [0,1,2,,,,7]; var a = [0,1,2,,,,7];
var proto = {} var proto = {}
a.__proto__ = proto; a.__proto__ = proto;
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
// Test runtime declaration of properties with var which are intercepted // Test runtime declaration of properties with var which are intercepted
// by JS accessors. // by JS accessors.
// Flags: --es52-globals
this.__defineSetter__("x", function() { hasBeenInvoked = true; }); this.__defineSetter__("x", function() { hasBeenInvoked = true; });
this.__defineSetter__("y", function() { throw 'exception'; }); this.__defineSetter__("y", function() { throw 'exception'; });
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
// Test that a function declaration cannot overwrite a read-only property. // Test that a function declaration cannot overwrite a read-only property.
// Flags: --es52-globals
function foobl() {} function foobl() {}
assertTrue(typeof this.foobl == "function"); assertTrue(typeof this.foobl == "function");
assertTrue(Object.getOwnPropertyDescriptor(this, "foobl").writable); assertTrue(Object.getOwnPropertyDescriptor(this, "foobl").writable);
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
// Test collection of abandoned maps. Tests that deleted map // Test collection of abandoned maps. Tests that deleted map
// transitions do not show up as properties in for in. // transitions do not show up as properties in for in.
// Flags: --expose-gc --collect-maps // Flags: --expose-gc
function C() {} function C() {}
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
// Test incorrect code generation for alternations on ARM. // Test incorrect code generation for alternations on ARM.
// Flags: --nofull-compiler
function foo() { function foo() {
return (0 > ("10"||10) - 1); return (0 > ("10"||10) - 1);
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --smi-only-arrays // Flags: --allow-natives-syntax
function foo(arg) { function foo(arg) {
var a = arg(); var a = arg();
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --noturbo-osr
function f() { function f() {
"use asm"; "use asm";
function g() { function g() {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --ignition-staging --turbo --always-opt // Flags: --turbo --always-opt
x = ""; x = "";
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
// Test for a broken fast-smi-loop that does not save the incremented value // Test for a broken fast-smi-loop that does not save the incremented value
// of the loop index. If this test fails, it loops forever, and times out. // of the loop index. If this test fails, it loops forever, and times out.
// Flags: --nofull-compiler
// Calling foo() spills the virtual frame. // Calling foo() spills the virtual frame.
function foo() { function foo() {
return; return;
......
...@@ -25,11 +25,7 @@ ...@@ -25,11 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --max-opt-count=100 --noalways-opt // Flags: --allow-natives-syntax --noalways-opt --opt
// Flags: --opt
// We specify max-opt-count because we opt/deopt the same function many
// times.
// It's nice to run this in other browsers too. // It's nice to run this in other browsers too.
var standalone = false; var standalone = false;
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --nofull-compiler
// test a few corners cases with shifts // test a few corners cases with shifts
// The result of the shift is not a Smi. // The result of the shift is not a Smi.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --expose-wasm --stress-gc --expose-gc // Flags: --expose-wasm --gc-interval=500 --stress-compaction --expose-gc
load("test/mjsunit/wasm/wasm-constants.js"); load("test/mjsunit/wasm/wasm-constants.js");
load("test/mjsunit/wasm/wasm-module-builder.js"); load("test/mjsunit/wasm/wasm-module-builder.js");
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --expose-wasm --stress-gc // Flags: --expose-wasm --gc-interval=500 --stress-compaction
load("test/mjsunit/wasm/wasm-constants.js"); load("test/mjsunit/wasm/wasm-constants.js");
load("test/mjsunit/wasm/wasm-module-builder.js"); load("test/mjsunit/wasm/wasm-module-builder.js");
......
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