Index: test/mjsunit/regress/regress-2618.js |
diff --git a/test/mjsunit/regress/regress-2618.js b/test/mjsunit/regress/regress-2618.js |
index 99f05ca6170290eed9aaa69a84ba4ccef4b486a3..3509db2d45a441ced57d7c419d12984f487e181c 100644 |
--- a/test/mjsunit/regress/regress-2618.js |
+++ b/test/mjsunit/regress/regress-2618.js |
@@ -38,7 +38,7 @@ function f() { |
} |
f(); |
-assertTrue(%GetOptimizationStatus(f) != 2); |
+assertOptimized(f); |
function g() { |
@@ -70,5 +70,4 @@ function g() { |
} |
g(); |
-assertTrue(%GetOptimizationStatus(g) != 2); |
- |
+assertOptimized(g); |