Index: test/mjsunit/regress/regress-2132.js |
diff --git a/test/mjsunit/regress/regress-2132.js b/test/mjsunit/regress/regress-2132.js |
index d8987a554a011ca120b2e352c9e0ecee1c72f003..9eb2dc5b073e6e3c2ce46362903d07d727de3d27 100644 |
--- a/test/mjsunit/regress/regress-2132.js |
+++ b/test/mjsunit/regress/regress-2132.js |
@@ -35,7 +35,7 @@ mul(0, 0); |
mul(0, 0); |
%OptimizeFunctionOnNextCall(mul); |
assertEquals(0, mul(0, -1)); |
-assertTrue(%GetOptimizationStatus(mul) != 2); |
+assertOptimized(mul); |
function div(x, y) { |
return (x / y) | 0; |
@@ -45,4 +45,4 @@ div(4, 2); |
div(4, 2); |
%OptimizeFunctionOnNextCall(div); |
assertEquals(1, div(5, 3)); |
-assertTrue(%GetOptimizationStatus(div) != 2); |
+assertOptimized(div); |