Index: test/mjsunit/constant-folding-2.js |
diff --git a/test/mjsunit/constant-folding-2.js b/test/mjsunit/constant-folding-2.js |
index 4c50e30d548110f8b7984bdea2e3ee55df205548..9e6b2c6306c18259db886fe7cd86cc3edb6ca217 100644 |
--- a/test/mjsunit/constant-folding-2.js |
+++ b/test/mjsunit/constant-folding-2.js |
@@ -34,7 +34,7 @@ function test(f) { |
%OptimizeFunctionOnNextCall(f); |
f(); |
// Assert that there has been no deopt. |
- assertTrue(%GetOptimizationStatus(f) != 2); |
+ assertOptimized(f); |
} |
test(function add() { |