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 @@ ...@@ -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: --no-always-turbofan --no-stress-opt // Flags: --no-always-turbofan
Debug = debug.Debug Debug = debug.Debug
......
...@@ -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: --no-always-turbofan --no-stress-opt // Flags: --no-always-turbofan
Debug = debug.Debug Debug = debug.Debug
var exception = null; var exception = null;
......
...@@ -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: --no-always-turbofan --no-stress-opt // Flags: --no-always-turbofan
Debug = debug.Debug Debug = debug.Debug
......
...@@ -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: --no-always-turbofan --no-stress-opt // Flags: --no-always-turbofan
Debug = debug.Debug Debug = debug.Debug
......
...@@ -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: --no-stress-opt --no-always-turbofan // Flags: --no-always-turbofan
let {session, contextGroup, Protocol} = let {session, contextGroup, Protocol} =
InspectorTest.start('Test module scope with variables in TDZ.'); InspectorTest.start('Test module scope with variables in TDZ.');
......
...@@ -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: --no-stress-opt --no-always-turbofan // Flags: --no-always-turbofan
let {session, contextGroup, Protocol} = let {session, contextGroup, Protocol} =
InspectorTest.start('Test scopes with variables in TDZ.'); InspectorTest.start('Test scopes with variables in TDZ.');
......
...@@ -5,10 +5,7 @@ ...@@ -5,10 +5,7 @@
// Flags: --validate-asm --allow-natives-syntax // Flags: --validate-asm --allow-natives-syntax
// Note that this test file contains tests that explicitly check modules are // Note that this test file contains tests that explicitly check modules are
// valid asm.js and then break them with invalid instantiation arguments. If // valid asm.js and then break them with invalid instantiation arguments.
// 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
function assertValidAsm(func) { function assertValidAsm(func) {
assertTrue(%IsAsmWasmCode(func)); assertTrue(%IsAsmWasmCode(func));
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan // Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// These tests do not work well if this script is run more than once (e.g. // These tests do not work well if this script is run more than once; after a
// --stress-opt); after a few runs the whole function is immediately compiled // few runs the whole function is immediately compiled and assertions would
// and assertions would fail. We prevent re-runs. // 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 // These tests do not work well if we flush the feedback vector, which causes
// deoptimization. // deoptimization.
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan // Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// Flags: --no-always-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 we flush the feedback vector, which causes // These tests do not work well if we flush the feedback vector, which causes
// deoptimization. // deoptimization.
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan // Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// Flags: --no-always-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 we flush the feedback vector, which causes // These tests do not work well if we flush the feedback vector, which causes
// deoptimization. // deoptimization.
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan // Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// Flags: --no-always-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 we flush the feedback vector, which causes // These tests do not work well if we flush the feedback vector, which causes
// deoptimization. // deoptimization.
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan // Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// Flags: --no-always-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 we flush the feedback vector, which causes // These tests do not work well if we flush the feedback vector, which causes
// deoptimization. // deoptimization.
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan // Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// Flags: --no-always-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 we flush the feedback vector, which causes // These tests do not work well if we flush the feedback vector, which causes
// deoptimization. // deoptimization.
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan // Flags: --allow-natives-syntax --turbo-optimize-apply --turbofan
// Flags: --no-always-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 we flush the feedback vector, which causes // These tests do not work well if we flush the feedback vector, which causes
// deoptimization. // deoptimization.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Flags: --allow-natives-syntax --noturbo-inlining --noturbo-verify-allocation // Flags: --allow-natives-syntax --noturbo-inlining --noturbo-verify-allocation
// This test invokes optimization manually, no need for stress modes: // 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. // This neuters too low stack size passed by the flag fuzzer.
// Flags: --stack-size=864 // Flags: --stack-size=864
......
...@@ -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 --no-stress-opt --no-always-turbofan --no-concurrent-recompilation // Flags: --allow-natives-syntax --no-always-turbofan --no-concurrent-recompilation
function foo(x) { function foo(x) {
return %VerifyType(x * x); return %VerifyType(x * x);
......
...@@ -26,14 +26,7 @@ ...@@ -26,14 +26,7 @@
// 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 --concurrent-recompilation // Flags: --allow-natives-syntax --concurrent-recompilation
// Flags: --no-stress-opt --no-always-turbofan // Flags: --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.
function f1(a, i) { function f1(a, i) {
return a[i] + 0.5; return a[i] + 0.5;
......
...@@ -26,14 +26,7 @@ ...@@ -26,14 +26,7 @@
// 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 --concurrent-recompilation // Flags: --allow-natives-syntax --concurrent-recompilation
// Flags: --nostress-opt --no-always-turbofan // Flags: --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.
function f1(a, i) { function f1(a, i) {
return a[i] + 0.5; return a[i] + 0.5;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
// 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 --nostress-opt --turbofan // Flags: --allow-natives-syntax --turbofan
// Flags: --no-stress-flush-code --no-lazy-feedback-allocation // Flags: --no-stress-flush-code --no-lazy-feedback-allocation
function test(f, iterations) { function test(f, iterations) {
......
...@@ -52,8 +52,6 @@ function test(a, b, c, d, e, v) { ...@@ -52,8 +52,6 @@ function test(a, b, c, d, e, v) {
// this point. // this point.
side_effect++; side_effect++;
// The following field of the global object will be deleted to force a deopt. // 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 // 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 // call and we will not exercise the translation mechanism handling fp
// registers. // registers.
......
...@@ -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 --expose-gc --nostress-opt // Flags: --allow-natives-syntax --expose-gc
// Flags: --deopt-every-n-times=0 // Flags: --deopt-every-n-times=0
var elements_kind = { var elements_kind = {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
// 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 // Flags: --allow-natives-syntax
// Flags: --nostress-opt --turbofan // Flags: --turbofan
// Ensure that ElementsKind transitions in various situations are hoisted (or // Ensure that ElementsKind transitions in various situations are hoisted (or
// not hoisted) correctly, don't change the semantics programs and don't trigger // not hoisted) correctly, don't change the semantics programs and don't trigger
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
// 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 // Flags: --allow-natives-syntax
// Flags: --nostress-opt // Flags:
// This code exists to eliminate the learning influence of AllocationSites // This code exists to eliminate the learning influence of AllocationSites
// on the following tests. // on the following tests.
......
...@@ -53,8 +53,6 @@ ...@@ -53,8 +53,6 @@
assertOptimized(foo); assertOptimized(foo);
assertTrue(%HasDictionaryElements(b)); assertTrue(%HasDictionaryElements(b));
// Clearing feedback for the StoreIC in foo is important for runs with
// flag --stress-opt.
%ClearFunctionFeedback(foo); %ClearFunctionFeedback(foo);
})(); })();
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Test for conflicting variable bindings. // Test for conflicting variable bindings.
// Stress-testing this test is very slow and provides no useful coverage. // Stress-testing this test is very slow and provides no useful coverage.
// Flags: --nostress-opt --noalways-turbofan // Flags: --noalways-turbofan
function CheckException(e) { function CheckException(e) {
var string = e.toString(); var string = e.toString();
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
// prefix/postfix decrement/increment operators. // prefix/postfix decrement/increment operators.
// Optimization stress is not useful for early syntax errors. // Optimization stress is not useful for early syntax errors.
// Flags: --nostress-opt --noalways-turbofan // Flags: --noalways-turbofan
"use strict"; "use strict";
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Flags: --allow-natives-syntax // Flags: --allow-natives-syntax
// This gets very slow with stress flags, and triggers optimization anyway: // This gets very slow with stress flags, and triggers optimization anyway:
// Flags: --nostress-opt --noalways-turbofan // Flags: --noalways-turbofan
(function testLargeClassesProperties(){ (function testLargeClassesProperties(){
// This is to test for dictionary mode when there more than // This is to test for dictionary mode when there more than
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]); var map = new Map([[1,2], [2,3], [3,4]]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator // This tests the interaction between the MapIterator protector and SetIterator
// protector. // protector.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]); var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]); var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]); var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]); var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]); var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var map = new Map([[1,2], [2,3], [3,4]]); var map = new Map([[1,2], [2,3], [3,4]]);
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator // This tests the interaction between the MapIterator protector and SetIterator
// protector. // protector.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator // This tests the interaction between the MapIterator protector and SetIterator
// protector. // protector.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var set = new Set([1,2,3]); var set = new Set([1,2,3]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator // This tests the interaction between the MapIterator protector and SetIterator
// protector. // protector.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var set = new Set([1,2,3]); var set = new Set([1,2,3]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var set = new Set([1,2,3]); var set = new Set([1,2,3]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var set = new Set([1,2,3]); var set = new Set([1,2,3]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var set = new Set([1,2,3]); var set = new Set([1,2,3]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var set = new Set([1,2,3]); var set = new Set([1,2,3]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
var set = new Set([1,2,3]); var set = new Set([1,2,3]);
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator // This tests the interaction between the MapIterator protector and SetIterator
// protector. // protector.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,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 --no-stress-opt // Flags: --allow-natives-syntax
// This tests the interaction between the MapIterator protector and SetIterator // This tests the interaction between the MapIterator protector and SetIterator
// protector. // protector.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// Tests for spreading primitive strings. // Tests for spreading primitive strings.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// Tests for primitive strings. // Tests for primitive strings.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
// Tests for wrapped strings. // Tests for wrapped strings.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%StringIteratorProtector()); assertTrue(%StringIteratorProtector());
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --super-ic --turbofan // 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 // This file contains tests which are disabled for TurboProp. TurboProp deopts
// differently than TurboFan, so the assertions about when a function is // differently than TurboFan, so the assertions about when a function is
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --allow-natives-syntax --super-ic --turbofan // 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() { (function TestPropertyIsInTheHomeObjectsProto() {
// Test where the property is a constant found on home object's proto. This // Test where the property is a constant found on home object's proto. This
......
...@@ -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: --nostress-opt // Flags:
Error.prepareStackTrace = function(exception, frames) { Error.prepareStackTrace = function(exception, frames) {
return frames[0].getEvalOrigin(); return frames[0].getEvalOrigin();
......
...@@ -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 --nostress-opt --track-field-types // Flags: --allow-natives-syntax --track-field-types
// Flags: --turbofan --no-always-turbofan // Flags: --turbofan --no-always-turbofan
(function() { (function() {
......
...@@ -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: --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"); d8.file.execute("test/mjsunit/harmony/atomics-waitasync-helpers.js");
......
...@@ -20,8 +20,6 @@ let key = {"k": "this is the key"}; ...@@ -20,8 +20,6 @@ let key = {"k": "this is the key"};
// cleanupSome won't do anything since there are no reclaimed targets. // cleanupSome won't do anything since there are no reclaimed targets.
fg.cleanupSome(); fg.cleanupSome();
assertEquals(0, cleanup_count); 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; return o;
})(); })();
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
// 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 --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 // array prototype chain by storing an element, and this is tracked
// per-isolate. A subsequent stress run would send the load generic, // per-isolate. A subsequent stress run would send the load generic,
// and no more deoptimizations of foo would occur. // and no more deoptimizations of foo would occur.
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
function f(a, i, v) { a[i] = v; } function f(a, i, v) { a[i] = v; }
f("make it generic", 0, 0); f("make it generic", 0, 0);
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
function f(x) { function f(x) {
var y = 0; var y = 0;
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
(function() { (function() {
function add(x, y) { function add(x, y) {
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
// Checks Smi add operation and deopt while untagging. // Checks Smi add operation and deopt while untagging.
(function() { (function() {
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
function Bar(x) { function Bar(x) {
this.bar = x this.bar = x
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
function bar(x){ function bar(x){
return x return x
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo(x) { function foo(x) {
const { a, b, ...rest } = {a:1, b:1, c:1, d:1}; const { a, b, ...rest } = {a:1, b:1, c:1, d: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 --maglev --maglev-inlining --no-stress-opt // Flags: --allow-natives-syntax --maglev --maglev-inlining
function inner(o) { function inner(o) {
"use strict" "use strict"
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
function bar(x, y){ function bar(x, y){
return [...x, y] return [...x, y]
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
function foo(x) { function foo(x) {
var inner = function() { var inner = function() {
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo(x,y) { function foo(x,y) {
if (x < y) { if (x < y) {
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
var b = 1; var b = 1;
function foo() { function foo() {
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
var b = 1; var b = 1;
function foo(x) { function foo(x) {
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
const b = 1; const b = 1;
export {b}; export {b};
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
// Test LdaModuleVariable with imports. // Test LdaModuleVariable with imports.
import {b} from './lda-module-variable-import.mjs' import {b} from './lda-module-variable-import.mjs'
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
// Empty array. // Empty array.
(function() { (function() {
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
// Checks simple monomorphic load of a Smi field works // Checks simple monomorphic load of a Smi field works
(function() { (function() {
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
function foo() { function foo() {
var x0 = 0; var x0 = 0;
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
function factory() { function factory() {
var x = 1; var x = 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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo() { function foo() {
try { try {
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
// Checks Smi shift_right operation and deopt while untagging. // Checks Smi shift_right operation and deopt while untagging.
(function() { (function() {
......
...@@ -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 --maglev --maglev-inlining --no-stress-opt // Flags: --allow-natives-syntax --maglev --maglev-inlining
function global_func(x) { function global_func(x) {
return x; return x;
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
// This tests that we can lazy deopt with a double spilled. // This tests that we can lazy deopt with a double spilled.
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
export let x = 1; export let x = 1;
function foo(y) { function foo(y) {
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
// Flags: --no-always-use-string-forwarding-table // Flags: --no-always-use-string-forwarding-table
let internalized1234 = %ConstructInternalizedString("1234123412341234"); let internalized1234 = %ConstructInternalizedString("1234123412341234");
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
class A { class A {
foo() { foo() {
......
...@@ -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 --maglev --no-stress-opt // Flags: --allow-natives-syntax --maglev
// Flags: --no-baseline-batch-compilation // Flags: --no-baseline-batch-compilation
function f(x) { function f(x) {
......
...@@ -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 --maglev --no-stress-opt --no-always-turbofan // Flags: --allow-natives-syntax --maglev --no-always-turbofan
function foo(x) { function foo(x) {
return x ?? 10 return x ?? 10
......
...@@ -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 --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 log = [];
let asyncId = 0; let asyncId = 0;
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector()); assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector()); assertTrue(%PromiseSpeciesProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%ArraySpeciesProtector()); assertTrue(%ArraySpeciesProtector());
assertTrue(%PromiseSpeciesProtector()); assertTrue(%PromiseSpeciesProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector()); assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector()); assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector()); assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%SetIteratorProtector()); assertTrue(%SetIteratorProtector());
assertTrue(%MapIteratorProtector()); assertTrue(%MapIteratorProtector());
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector()); assertTrue(%TypedArraySpeciesProtector());
class MyBigInt64Array extends BigInt64Array { } class MyBigInt64Array extends BigInt64Array { }
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector()); assertTrue(%TypedArraySpeciesProtector());
class MyBigUint64Array extends BigUint64Array { } class MyBigUint64Array extends BigUint64Array { }
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%IsConcatSpreadableProtector()); assertTrue(%IsConcatSpreadableProtector());
Object.defineProperty(Array, Symbol.isConcatSpreadable, { value: false }); Object.defineProperty(Array, Symbol.isConcatSpreadable, { value: false });
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector()); assertTrue(%TypedArraySpeciesProtector());
class MyFloat32Array extends Float32Array { } class MyFloat32Array extends Float32Array { }
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector()); assertTrue(%TypedArraySpeciesProtector());
class MyFloat64Array extends Float64Array { } class MyFloat64Array extends Float64Array { }
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector()); assertTrue(%TypedArraySpeciesProtector());
class MyInt16Array extends Int16Array { } class MyInt16Array extends Int16Array { }
......
...@@ -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 --no-stress-opt // Flags: --allow-natives-syntax
assertTrue(%TypedArraySpeciesProtector()); assertTrue(%TypedArraySpeciesProtector());
class MyInt32Array extends Int32Array { } 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