Fix %OptimizeFunctionOnNextCall to actually work when the function has not yet been...
authortitzer@chromium.org <titzer@chromium.org>
Thu, 4 Sep 2014 11:27:20 +0000 (11:27 +0000)
committertitzer@chromium.org <titzer@chromium.org>
Thu, 4 Sep 2014 11:27:20 +0000 (11:27 +0000)
commit67b89f9db688b745b602673717c603e8797de9f5
tree2deabf5adc701e6397c5f88c144e9d5709c078e8
parent7712ed28e8a807c9e87ad1858bcb0cf3e00c8717
Fix %OptimizeFunctionOnNextCall to actually work when the function has not yet been compiled.

R=yangguo@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23687 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
src/objects-inl.h
src/objects.cc
src/runtime.cc
test/mjsunit/compiler/opt-next-call.js [new file with mode: 0644]