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