Index: test/mjsunit/regress/regress-2618.js |
diff --git a/test/mjsunit/regress/regress-2618.js b/test/mjsunit/regress/regress-2618.js |
index d1afa368dc0bd96e04ded6f0fc1b6af8e8ab804a..3509db2d45a441ced57d7c419d12984f487e181c 100644 |
--- a/test/mjsunit/regress/regress-2618.js |
+++ b/test/mjsunit/regress/regress-2618.js |
@@ -38,7 +38,8 @@ function f() { |
} |
f(); |
-assertTrue(%GetOptimizationCount(f) > 0 || %GetOptimizationStatus(f) == 4); |
+assertOptimized(f); |
+ |
function g() { |
for (var i = 0; i < 1; i++) { } |
@@ -69,4 +70,4 @@ function g() { |
} |
g(); |
-assertTrue(%GetOptimizationCount(g) > 0 || %GetOptimizationStatus(g) == 4); |
+assertOptimized(g); |