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:
parent
e1363512cd
commit
209b771431
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user