Index: test/mjsunit/regress/regress-252797.js |
diff --git a/test/mjsunit/regress/regress-252797.js b/test/mjsunit/regress/regress-252797.js |
index 406be85b59fb210f91e429c7e97473507cc77168..379205f59930776337c75d4e925bd56439d3c539 100644 |
--- a/test/mjsunit/regress/regress-252797.js |
+++ b/test/mjsunit/regress/regress-252797.js |
@@ -54,4 +54,4 @@ callConstantFunctionOnPrototype(receiver); |
callConstantFunctionOnPrototype(receiver); |
// Make sure that the function is still optimized. |
-assertTrue(2 != %GetOptimizationStatus(callConstantFunctionOnPrototype)); |
+assertOptimized(callConstantFunctionOnPrototype); |