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 { }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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