Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1382)

Unified Diff: test/mjsunit/regress/regress-4121.js

Issue 2653753007: [tests] Cleanup tests that use assertOptimized()/assertUnoptimized(). (Closed)
Patch Set: Addressing comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/regress/regress-410912.js ('k') | test/mjsunit/regress/regress-4380.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-4121.js
diff --git a/test/mjsunit/regress/regress-4121.js b/test/mjsunit/regress/regress-4121.js
index a175ed9fd2216e16b2106ac8cf5c467e8722e2a4..2ca68be5abac00f9e8d457385860d967b490c211 100644
--- a/test/mjsunit/regress/regress-4121.js
+++ b/test/mjsunit/regress/regress-4121.js
@@ -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
+// Flags: --allow-natives-syntax --no-always-opt
function literals_sharing_test(warmup, optimize) {
function closure() {
@@ -39,10 +39,4 @@ function test() {
literals_sharing_test(warmup, true);
}
-
-function stress_opt_test() {}
-stress_opt_test();
-if (%GetOptimizationStatus(stress_opt_test) == 2) {
- // This test is not suitable for --always-opt mode.
- test();
-}
+test();
« no previous file with comments | « test/mjsunit/regress/regress-410912.js ('k') | test/mjsunit/regress/regress-4380.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698