Index: test/mjsunit/regress/regress-2315.js |
diff --git a/test/mjsunit/regress/regress-2315.js b/test/mjsunit/regress/regress-2315.js |
index a3f9182c95b5e0409443fa3bf6c3f8c5b8669902..28c78eae48f09e4fedb2645c0ea811f0e2945c3e 100644 |
--- a/test/mjsunit/regress/regress-2315.js |
+++ b/test/mjsunit/regress/regress-2315.js |
@@ -36,5 +36,4 @@ foo(); |
%OptimizeFunctionOnNextCall(foo); |
foo(); |
-// Function should be optimized now. |
-assertTrue(%GetOptimizationStatus(foo) != 2); |
+assertOptimized(foo); |