Index: test/mjsunit/deopt-with-fp-regs.js |
diff --git a/test/mjsunit/deopt-with-fp-regs.js b/test/mjsunit/deopt-with-fp-regs.js |
index 2a27850aa48de1729f6d8fd5cfa689607a84b494..10e3d9abb3ab3df80340667180fd570017f41ac8 100644 |
--- a/test/mjsunit/deopt-with-fp-regs.js |
+++ b/test/mjsunit/deopt-with-fp-regs.js |
@@ -81,10 +81,10 @@ |
test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5); |
%OptimizeFunctionOnNextCall(test); |
test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5); |
-assertOptimized(test); |
+assertTrue(2 != %GetOptimizationStatus(test)); |
// By deleting the field we are forcing the code to deopt when the field is |
// read on next execution. |
delete deopt_trigger; |
test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5); |
-assertUnoptimized(test); |
+assertTrue(1 != %GetOptimizationStatus(test)); |