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

Unified Diff: test/mjsunit/es6/block-scoping.js

Issue 2655223003: Revert of [tests] Make assertOptimized()/assertUnoptimized() great again. (Closed)
Patch Set: 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/es6/block-let-crankshaft-sloppy.js ('k') | test/mjsunit/es6/block-scoping-sloppy.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/block-scoping.js
diff --git a/test/mjsunit/es6/block-scoping.js b/test/mjsunit/es6/block-scoping.js
index 212352ee46d03c055cd2864612ac2363fc7ab9de..0308edde96a37dd0ca0675196fb7d4501a550d2f 100644
--- a/test/mjsunit/es6/block-scoping.js
+++ b/test/mjsunit/es6/block-scoping.js
@@ -42,7 +42,7 @@
for (var j = 0; j < 5; ++j) f1();
%OptimizeFunctionOnNextCall(f1);
f1();
-assertOptimized(f1);
+assertTrue(%GetOptimizationStatus(f1) != 2);
// Dynamic lookup in and through block contexts.
function f2(one) {
« no previous file with comments | « test/mjsunit/es6/block-let-crankshaft-sloppy.js ('k') | test/mjsunit/es6/block-scoping-sloppy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698