Commit 209b7714 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Enable test coverage for test coverage.

R=titzer@chromium.org
TEST=mjsunit/compiler/opt-next-call-turbo

Review URL: https://codereview.chromium.org/822673003

Cr-Commit-Position: refs/heads/master@{#26192}
parent e1363512
...@@ -10,8 +10,7 @@ function foo() { ...@@ -10,8 +10,7 @@ function foo() {
%OptimizeFunctionOnNextCall(foo); %OptimizeFunctionOnNextCall(foo);
assertEquals("fooed", foo()); assertEquals("fooed", foo());
// TODO(mstarzinger): Still not optimized, make sure it is. assertOptimized(foo);
// assertOptimized(foo);
function bar() { function bar() {
with ({ value:"bared" }) { return value; } with ({ value:"bared" }) { return value; }
...@@ -20,5 +19,4 @@ function bar() { ...@@ -20,5 +19,4 @@ function bar() {
assertEquals("bared", bar()); assertEquals("bared", bar());
%OptimizeFunctionOnNextCall(bar); %OptimizeFunctionOnNextCall(bar);
assertEquals("bared", bar()); assertEquals("bared", bar());
// TODO(mstarzinger): Still not optimized, make sure it is. assertOptimized(bar);
// assertOptimized(bar);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment