Commit 6904a812 authored by Jakob Linke's avatar Jakob Linke Committed by V8 LUCI CQ

[cleanup] Remove --stress-opt remnants

.. mostly mentions in mjsunit `Flags:` lines and in comments.

Bug: v8:10386
Change-Id: If79dfdc448d0a3f19883ef1f816e77e750cb4061
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3865964
Commit-Queue: Jakob Linke <jgruber@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82852}
parent ad52bf8a
......@@ -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: --no-always-turbofan --no-stress-opt
// Flags: --no-always-turbofan
Debug = debug.Debug
......
......@@ -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: --no-always-turbofan --no-stress-opt
// Flags: --no-always-turbofan
Debug = debug.Debug
var exception = null;
......
......@@ -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: --no-always-turbofan --no-stress-opt
// Flags: --no-always-turbofan
Debug = debug.Debug
......
......@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --no-always-turbofan --no-stress-opt
// Flags: --no-always-turbofan
Debug = debug.Debug
......
......@@ -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: --no-stress-opt --no-always-turbofan
// Flags: --no-always-turbofan
let {session, contextGroup, Protocol} =
InspectorTest.start('Test module scope with variables in TDZ.');
......
......@@ -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: --no-stress-opt --no-always-turbofan
// Flags: --no-always-turbofan
let {session, contextGroup, Protocol} =
InspectorTest.start('Test scopes with variables in TDZ.');
......
......@@ -5,10 +5,7 @@
// Flags: --validate-asm --allow-natives-syntax
// Note that this test file contains tests that explicitly check modules are
// valid asm.js and then break them with invalid instantiation arguments. If
// this script is run more than once (e.g. --stress-opt) then modules remain
// broken in the second run and assertions would fail. We prevent re-runs.
// Flags: --no-stress-opt
// valid asm.js and then break them with invalid instantiation arguments.
function assertValidAsm(func) {
assertTrue(%IsAsmWasmCode(func));
......
......@@ -4,10 +4,10 @@
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g.
// --stress-opt); after a few runs the whole function is immediately compiled
// and assertions would fail. We prevent re-runs.
// Flags: --nostress-opt --no-always-turbofan
// These tests do not work well if this script is run more than once; after a
// few runs the whole function is immediately compiled and assertions would
// fail. We prevent re-runs.
// Flags: --no-always-turbofan
// These tests do not work well if we flush the feedback vector, which causes
// deoptimization.
......
......@@ -3,11 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g.
// --stress-opt); after a few runs the whole function is immediately compiled
// and assertions would fail. We prevent re-runs.
// Flags: --nostress-opt --no-always-turbofan
// Flags: --no-always-turbofan
// These tests do not work well if we flush the feedback vector, which causes
// deoptimization.
......
......@@ -3,11 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g.
// --stress-opt); after a few runs the whole function is immediately compiled
// and assertions would fail. We prevent re-runs.
// Flags: --nostress-opt --no-always-turbofan
// Flags: --no-always-turbofan
// These tests do not work well if we flush the feedback vector, which causes
// deoptimization.
......
......@@ -3,11 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g.
// --stress-opt); after a few runs the whole function is immediately compiled
// and assertions would fail. We prevent re-runs.
// Flags: --nostress-opt --no-always-turbofan
// Flags: --no-always-turbofan
// These tests do not work well if we flush the feedback vector, which causes
// deoptimization.
......
......@@ -3,11 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g.
// --stress-opt); after a few runs the whole function is immediately compiled
// and assertions would fail. We prevent re-runs.
// Flags: --nostress-opt --no-always-turbofan
// Flags: --no-always-turbofan
// These tests do not work well if we flush the feedback vector, which causes
// deoptimization.
......
......@@ -3,11 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g.
// --stress-opt); after a few runs the whole function is immediately compiled
// and assertions would fail. We prevent re-runs.
// Flags: --nostress-opt --no-always-turbofan
// Flags: --no-always-turbofan
// These tests do not work well if we flush the feedback vector, which causes
// deoptimization.
......
......@@ -3,11 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g.
// --stress-opt); after a few runs the whole function is immediately compiled
// and assertions would fail. We prevent re-runs.
// Flags: --nostress-opt --no-always-turbofan
// Flags: --no-always-turbofan
// These tests do not work well if we flush the feedback vector, which causes
// deoptimization.
......
......@@ -4,7 +4,7 @@
// Flags: --allow-natives-syntax --noturbo-inlining --noturbo-verify-allocation
// This test invokes optimization manually, no need for stress modes:
// Flags: --nostress-opt --noalways-turbofan
// Flags: --noalways-turbofan
// This neuters too low stack size passed by the flag fuzzer.
// Flags: --stack-size=864
......
......@@ -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 --no-stress-opt --no-always-turbofan --no-concurrent-recompilation
// Flags: --allow-natives-syntax --no-always-turbofan --no-concurrent-recompilation
function foo(x) {
return %VerifyType(x * x);
......
......@@ -26,14 +26,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --concurrent-recompilation
// Flags: --no-stress-opt --no-always-turbofan
//
// --nostress-opt is in place because this particular optimization
// (guaranteeing that the Array prototype chain has no elements) is
// maintained isolate-wide. Once it's been "broken" by the change
// to the Object prototype below, future compiles will not use the
// optimization anymore, and the code will remain optimized despite
// additional changes to the prototype chain.
// Flags: --no-always-turbofan
function f1(a, i) {
return a[i] + 0.5;
......
......@@ -26,14 +26,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --concurrent-recompilation
// Flags: --nostress-opt --no-always-turbofan
// --nostress-opt is in place because this particular optimization
// (guaranteeing that the Array prototype chain has no elements) is
// maintained isolate-wide. Once it's been "broken" by the change
// to the Object prototype below, future compiles will not use the
// optimization anymore, and the code will remain optimized despite
// additional changes to the prototype chain.
// Flags: --no-always-turbofan
function f1(a, i) {
return a[i] + 0.5;
......
......@@ -26,7 +26,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --nostress-opt --turbofan
// Flags: --allow-natives-syntax --turbofan
// Flags: --no-stress-flush-code --no-lazy-feedback-allocation
function test(f, iterations) {
......
......@@ -52,8 +52,6 @@ function test(a, b, c, d, e, v) {
// this point.
side_effect++;
// The following field of the global object will be deleted to force a deopt.
// If we use type feedback to deopt, then tests ran with --stress-opt will
// not deopt after a few iteration.
// If we use %DeoptimizeFunction, all values will be on the frame due to the
// call and we will not exercise the translation mechanism handling fp
// registers.
......
......@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax --expose-gc --nostress-opt
// Flags: --allow-natives-syntax --expose-gc
// Flags: --deopt-every-n-times=0
var elements_kind = {
......
......@@ -26,7 +26,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax
// Flags: --nostress-opt --turbofan
// Flags: --turbofan
// Ensure that ElementsKind transitions in various situations are hoisted (or
// not hoisted) correctly, don't change the semantics programs and don't trigger
......
......@@ -26,7 +26,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax
// Flags: --nostress-opt
// Flags:
// This code exists to eliminate the learning influence of AllocationSites
// on the following tests.
......
......@@ -53,8 +53,6 @@
assertOptimized(foo);
assertTrue(%HasDictionaryElements(b));
// Clearing feedback for the StoreIC in foo is important for runs with
// flag --stress-opt.
%ClearFunctionFeedback(foo);
})();
......
......@@ -4,7 +4,7 @@
// Test for conflicting variable bindings.
// Stress-testing this test is very slow and provides no useful coverage.
// Flags: --nostress-opt --noalways-turbofan
// Flags: --noalways-turbofan
function CheckException(e) {
var string = e.toString();
......
......@@ -30,7 +30,7 @@
// prefix/postfix decrement/increment operators.
// Optimization stress is not useful for early syntax errors.
// Flags: --nostress-opt --noalways-turbofan
// Flags: --noalways-turbofan
"use strict";
......
......@@ -4,7 +4,7 @@
// Flags: --allow-natives-syntax
// This gets very slow with stress flags, and triggers optimization anyway:
// Flags: --nostress-opt --noalways-turbofan
// Flags: --noalways-turbofan
(function testLargeClassesProperties(){
// This is to test for dictionary mode when there more than
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator
// protector.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator
// protector.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator
// protector.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var set = new Set([1,2,3]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator
// protector.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var set = new Set([1,2,3]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var set = new Set([1,2,3]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var set = new Set([1,2,3]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var set = new Set([1,2,3]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var set = new Set([1,2,3]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
var set = new Set([1,2,3]);
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator
// protector.
......
......@@ -3,7 +3,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 --no-stress-opt
// Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator
// protector.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// Tests for spreading primitive strings.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// Tests for primitive strings.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
// Tests for wrapped strings.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%StringIteratorProtector());
......
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --super-ic --turbofan
// Flags: --no-always-turbofan --no-stress-opt --deopt-every-n-times=0
// Flags: --no-always-turbofan --deopt-every-n-times=0
// This file contains tests which are disabled for TurboProp. TurboProp deopts
// differently than TurboFan, so the assertions about when a function is
......
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --super-ic --turbofan
// Flags: --no-always-turbofan --no-stress-opt --deopt-every-n-times=0
// Flags: --no-always-turbofan --deopt-every-n-times=0
(function TestPropertyIsInTheHomeObjectsProto() {
// Test where the property is a constant found on home object's proto. This
......
......@@ -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: --nostress-opt
// Flags:
Error.prepareStackTrace = function(exception, frames) {
return frames[0].getEvalOrigin();
......
......@@ -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 --nostress-opt --track-field-types
// Flags: --allow-natives-syntax --track-field-types
// Flags: --turbofan --no-always-turbofan
(function() {
......
......@@ -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-sharedarraybuffer --harmony-atomics-waitasync --expose-gc --no-stress-opt
// Flags: --harmony-sharedarraybuffer --harmony-atomics-waitasync --expose-gc
d8.file.execute("test/mjsunit/harmony/atomics-waitasync-helpers.js");
......
......@@ -20,8 +20,6 @@ let key = {"k": "this is the key"};
// cleanupSome won't do anything since there are no reclaimed targets.
fg.cleanupSome();
assertEquals(0, cleanup_count);
// Keep o alive to the end of the function, so that --stress-opt mode
// is robust towards --gc-interval timing.
return o;
})();
......
......@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --no-stress-opt --turbofan --no-always-turbofan
// Flags: --allow-natives-syntax --turbofan --no-always-turbofan
// --nostress-opt is specified because the test corrupts the "pristine"
// is specified because the test corrupts the "pristine"
// array prototype chain by storing an element, and this is tracked
// per-isolate. A subsequent stress run would send the load generic,
// and no more deoptimizations of foo would occur.
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
function f(a, i, v) { a[i] = v; }
f("make it generic", 0, 0);
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
function f(x) {
var y = 0;
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
(function() {
function add(x, y) {
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
// Checks Smi add operation and deopt while untagging.
(function() {
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
function Bar(x) {
this.bar = x
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
function bar(x){
return x
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo(x) {
const { a, b, ...rest } = {a:1, b:1, c:1, d:1};
......
......@@ -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 --maglev --maglev-inlining --no-stress-opt
// Flags: --allow-natives-syntax --maglev --maglev-inlining
function inner(o) {
"use strict"
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
function bar(x, y){
return [...x, y]
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
function foo(x) {
var inner = function() {
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo(x,y) {
if (x < y) {
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
var b = 1;
function foo() {
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
var b = 1;
function foo(x) {
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
const b = 1;
export {b};
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
// Test LdaModuleVariable with imports.
import {b} from './lda-module-variable-import.mjs'
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
// Empty array.
(function() {
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
// Checks simple monomorphic load of a Smi field works
(function() {
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
function foo() {
var x0 = 0;
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
function factory() {
var x = 1;
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo() {
try {
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
// Checks Smi shift_right operation and deopt while untagging.
(function() {
......
......@@ -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 --maglev --maglev-inlining --no-stress-opt
// Flags: --allow-natives-syntax --maglev --maglev-inlining
function global_func(x) {
return x;
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
// This tests that we can lazy deopt with a double spilled.
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
export let x = 1;
function foo(y) {
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
// Flags: --no-always-use-string-forwarding-table
let internalized1234 = %ConstructInternalizedString("1234123412341234");
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
class A {
foo() {
......
......@@ -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 --maglev --no-stress-opt
// Flags: --allow-natives-syntax --maglev
// Flags: --no-baseline-batch-compilation
function f(x) {
......
......@@ -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 --maglev --no-stress-opt --no-always-turbofan
// Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo(x) {
return x ?? 10
......
......@@ -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 --turbofan --no-always-turbofan --no-stress-opt --deopt-every-n-times=0 --ignore-unhandled-promises
// Flags: --allow-natives-syntax --turbofan --no-always-turbofan --deopt-every-n-times=0 --ignore-unhandled-promises
let log = [];
let asyncId = 0;
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyBigInt64Array extends BigInt64Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyBigUint64Array extends BigUint64Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%IsConcatSpreadableProtector());
Object.defineProperty(Array, Symbol.isConcatSpreadable, { value: false });
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyFloat32Array extends Float32Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyFloat64Array extends Float64Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyInt16Array extends Int16Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyInt32Array extends Int32Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyInt8Array extends Int8Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
class MyArray extends Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%StringIteratorProtector());
Object.defineProperty(String.prototype, Symbol.iterator, { value: {} });
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector());
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyUint16Array extends Uint16Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyUint32Array extends Uint32Array { }
......
......@@ -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 --no-stress-opt
// Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector());
class MyUint8Array extends Uint8Array { }
......
......@@ -6,7 +6,7 @@
// flaky. Due to flag contradiction checking, this requires
// --allow-overwriting-for-next-flag to avoid an error.
// Flags: --allow-overwriting-for-next-flag --random-seed=20
// Flags: --nostress-opt --noalways-turbofan --predictable
// Flags: --noalways-turbofan --predictable
(function() {
var kHistory = 2;
......
......@@ -27,7 +27,7 @@
// Flags: --allow-natives-syntax
// This test manually triggers optimization, no need for stress modes.
// Flags: --nostress-opt --noalways-turbofan
// Flags: --noalways-turbofan
// Different ways to create an object.
......
......@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --nostress-opt --allow-natives-syntax --mock-arraybuffer-allocator
// Flags: --allow-natives-syntax --mock-arraybuffer-allocator
let kArrayBufferByteLengthLimit = %ArrayBufferMaxByteLength() + 1;
let kTypedArrayLengthLimit = %TypedArrayMaxLength() + 1;
......
......@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --nostress-opt --allow-natives-syntax --mock-arraybuffer-allocator
// Flags: --allow-natives-syntax --mock-arraybuffer-allocator
let kArrayBufferByteLengthLimit = %ArrayBufferMaxByteLength() + 1;
let kTypedArrayLengthLimit = %TypedArrayMaxLength() + 1;
......
// Copyright 2014 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 --nostress-opt
// Flags: --allow-natives-syntax
// Flags: --nouse-osr
function foo(obj) {
......
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --expose-gc --turbofan --no-concurrent-recompilation
// Flags: --no-stress-opt --no-always-turbofan --no-assert-types
// Flags: --no-always-turbofan --no-assert-types
// This weak ref is for checking whether the closure-allocated object o got
// collected as it should.
......
......@@ -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: --no-always-turbofan --no-stress-opt
// Flags: --no-always-turbofan
// Generate a function with a very large closure.
source = "(function() {\n"
......
// Copyright 2014 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 --check-elimination --stress-opt
var v0 = this;
var v2 = this;
function f() {
v2 = [1.2, 2.3];
v0 = [12, 23];
};
%PrepareFunctionForOptimization(f);
f();
f();
%OptimizeFunctionOnNextCall(f);
f();
......@@ -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: --expose-externalize-string --no-stress-opt
// Flags: --expose-externalize-string
!function() {
const s0 = "external string turned into two byte";
......
......@@ -4,7 +4,7 @@
// Flags: --expose-gc
// Stress-testing this test is very slow and doesn't provide useful coverage.
// Flags: --nostress-opt --noalways-turbofan
// Flags: --noalways-turbofan
const f = eval(`(function f(i) {
if (i == 0) {
......
......@@ -4,7 +4,7 @@
// Flags: --allow-natives-syntax --noenable-slow-asserts
// This test triggers optimization manually, no stress mode necessary.
// Flags: --nostress-opt --noalways-turbofan
// Flags: --noalways-turbofan
// This call ensures that TurboFan won't inline array constructors.
Array(2 ** 30);
......
......@@ -32,9 +32,7 @@
// boilerplate. The --always-turbofan flag makes sure that optimized code is
// not thrown away at deoptimization.
// The switch statement in f() makes sure that f() is not inlined. If we
// start inlining switch statements, we will still catch the bug on the
// final --stress-opt run.
// The switch statement in f() makes sure that f() is not inlined.
function f(x) {
switch (x) {
......
......@@ -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 --turbofan --no-always-turbofan --no-stress-opt
// Flags: --allow-natives-syntax --turbofan --no-always-turbofan
// Flags: --deopt-every-n-times=0 --no-force-slow-path
(function TestSliceWithoutParams() {
......
......@@ -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: --nostress-opt --expose-gc --noalways-turbofan --invoke-weak-callbacks
// Flags: --expose-gc --noalways-turbofan --invoke-weak-callbacks
// This test was generated by the fuzzer.
......
// Copyright 2017 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: --validate-asm --expose-gc --stress-opt
gc();
function asm(stdlib, foreign, buffer) {
"use asm";
var HEAP32 = new stdlib.Uint32Array(buffer);
function load(a) {
a = a | 0;
return +(HEAP32[a >> 2] >>> 0);
}
return {load: load};
}
function RunAsmJsTest() {
buffer = new ArrayBuffer(65536);
var asm_module = asm({Uint32Array: Uint32Array}, {}, buffer);
asm_module.load(buffer.byteLength);
}
RunAsmJsTest();
......@@ -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: --logfile='+' --log --log-code --no-stress-opt
// Flags: --logfile='+' --log --log-code
function testFunctionWithFunnyName(o) {
return o.a;
......
......@@ -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: --logfile='+' --log --log-code --log-function-events --no-stress-opt
// Flags: --logfile='+' --log --log-code --log-function-events
// Flags: --no-stress-background-compile
let twoByteName = "twoByteName_🍕"
......
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --logfile='+' --log --log-maps --log-ic --log-code
// Flags: --log-function-events --no-stress-opt --no-predictable
// Flags: --log-function-events --no-predictable
import { Processor } from "../../../tools/system-analyzer/processor.mjs";
......
......@@ -46,7 +46,8 @@ assertOptimized(unaryMinusTest);
// Deopt on kMinInt
unaryMinusTest(31);
// The following is normally true, but not with --stress-opt. :-/
// TODO(v8:13245): Investigate why this assertion fails and what intended
// behavior is.
// assertUnoptimized(unaryMinusTest);
%PrepareFunctionForOptimization(unaryMinusTest);
......
......@@ -4,9 +4,6 @@
// Flags: --no-wasm-trap-handler
// No reason to stress-opt this; save some time.
// Flags: --no-stress-opt
d8.file.execute('test/mjsunit/wasm/wasm-module-builder.js');
// Without trap handlers, we are able to allocate basically arbitrarily many
......
......@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// No reason to stress-opt this; save some time.
// Flags: --no-stress-opt
d8.file.execute('test/mjsunit/wasm/wasm-module-builder.js');
// Test that we can generate at least 50 memories of small size.
......
......@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// No reason to stress-opt this; save some time.
// Flags: --no-stress-opt
d8.file.execute('test/mjsunit/wasm/wasm-module-builder.js');
// We generate the module bytes once to make this test more efficient,
......
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --wasm-dynamic-tiering --liftoff
// Flags: --no-wasm-tier-up --no-stress-opt
// Flags: --no-wasm-tier-up
// Make the test faster:
// Flags: --wasm-tiering-budget=1000
......
......@@ -1131,7 +1131,7 @@ class LogFunctionEventsTest : public LogTest {
};
TEST_F(LogFunctionEventsTest, LogFunctionEvents) {
// Always opt and stress opt will break the fine-grained log order.
// --always-turbofan will break the fine-grained log order.
if (i::FLAG_always_turbofan) return;
{
......
......@@ -140,7 +140,6 @@ const DISALLOWED_DIFFERENTIAL_FUZZ_FLAGS = [
/^--trace.*/,
'--expose-externalize-string',
'--interpreted-frames-native-stack',
'--stress-opt',
'--validate-asm',
];
......
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