Index: test/mjsunit/es6/block-scoping-sloppy.js |
diff --git a/test/mjsunit/es6/block-scoping-sloppy.js b/test/mjsunit/es6/block-scoping-sloppy.js |
index f5c5a6326b393f2c0814b41902044ffba1c0b002..5398250d592abbdfe70e17782667f229165a99bc 100644 |
--- a/test/mjsunit/es6/block-scoping-sloppy.js |
+++ b/test/mjsunit/es6/block-scoping-sloppy.js |
@@ -40,7 +40,7 @@ function f1() { |
for (var j = 0; j < 5; ++j) f1(); |
%OptimizeFunctionOnNextCall(f1); |
f1(); |
-assertTrue(%GetOptimizationStatus(f1) != 2); |
+assertOptimized(f1); |
// Dynamic lookup in and through block contexts. |
function f2(one) { |