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}
This commit is contained in:
mstarzinger 2015-01-21 06:07:07 -08:00 committed by Commit bot
parent e1363512cd
commit 209b771431

View File

@ -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);