Index: test/mjsunit/assert-opt-and-deopt.js |
=================================================================== |
--- test/mjsunit/assert-opt-and-deopt.js (revision 9327) |
+++ test/mjsunit/assert-opt-and-deopt.js (working copy) |
@@ -150,11 +150,6 @@ |
f(1); |
-tracker.AssertOptCount(f, 0); |
-tracker.AssertIsOptimized(f, false); |
-tracker.AssertDeoptHappened(f, false); |
-tracker.AssertDeoptCount(f, 0); |
- |
%OptimizeFunctionOnNextCall(f); |
f(1); |
@@ -172,6 +167,7 @@ |
// Let's trigger optimization for another type. |
for (var i = 0; i < 5; i++) f("a"); |
+ |
%OptimizeFunctionOnNextCall(f); |
f("b"); |