Index: test/mjsunit/compiler/opt-next-call-turbo.js |
diff --git a/test/mjsunit/compiler/opt-next-call-turbo.js b/test/mjsunit/compiler/opt-next-call-turbo.js |
index f8c6300b3d2dd0abeebc88da5c53dc3848764c68..d4beff9f6e6f0830713a0ee374671296b8f1b2d2 100644 |
--- a/test/mjsunit/compiler/opt-next-call-turbo.js |
+++ b/test/mjsunit/compiler/opt-next-call-turbo.js |
@@ -10,8 +10,7 @@ function foo() { |
%OptimizeFunctionOnNextCall(foo); |
assertEquals("fooed", foo()); |
-// TODO(mstarzinger): Still not optimized, make sure it is. |
-// assertOptimized(foo); |
+assertOptimized(foo); |
function bar() { |
with ({ value:"bared" }) { return value; } |
@@ -20,5 +19,4 @@ function bar() { |
assertEquals("bared", bar()); |
%OptimizeFunctionOnNextCall(bar); |
assertEquals("bared", bar()); |
-// TODO(mstarzinger): Still not optimized, make sure it is. |
-// assertOptimized(bar); |
+assertOptimized(bar); |