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

Unified Diff: test/mjsunit/compiler/deopt-string-outofbounds.js

Issue 2654733004: [tests] Make assertOptimized()/assertUnoptimized() great again. (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
Index: test/mjsunit/compiler/deopt-string-outofbounds.js
diff --git a/test/mjsunit/compiler/deopt-string-outofbounds.js b/test/mjsunit/compiler/deopt-string-outofbounds.js
index 2a9f6a1c38479cb3760cf9660d57a9ff18c44559..fe79aa73e3821178f3596d87a9f20ab775647510 100644
--- a/test/mjsunit/compiler/deopt-string-outofbounds.js
+++ b/test/mjsunit/compiler/deopt-string-outofbounds.js
@@ -2,7 +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
+// Flags: --allow-natives-syntax --no-always-opt
+
+assertFalse(isAlwaysOptimize());
var s = "12345";

Powered by Google App Engine
This is Rietveld 408576698