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

Unified Diff: test/mjsunit/es6/block-let-crankshaft-sloppy.js

Issue 2654733004: [tests] Make assertOptimized()/assertUnoptimized() great again. (Closed)
Patch Set: Update debugger.status 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/es6/block-let-crankshaft-sloppy.js
diff --git a/test/mjsunit/es6/block-let-crankshaft-sloppy.js b/test/mjsunit/es6/block-let-crankshaft-sloppy.js
index b5e81f78504435077fce1a36dc9274803a24fdd9..223f52a850d20552194f8fdce8c3389c0353c613 100644
--- a/test/mjsunit/es6/block-let-crankshaft-sloppy.js
+++ b/test/mjsunit/es6/block-let-crankshaft-sloppy.js
@@ -478,5 +478,5 @@ for (var i=0; i<10; i++) {
f(12);
g(12);
-assertTrue(%GetOptimizationStatus(f) != 2);
-assertTrue(%GetOptimizationStatus(g) != 2);
+assertOptimized(f);
+assertOptimized(g);

Powered by Google App Engine
This is Rietveld 408576698