Do not bailout from optimizing functions that use f(x, arguments)
authorulan <ulan@chromium.org>
Thu, 20 Nov 2014 17:07:34 +0000 (09:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Nov 2014 17:07:44 +0000 (17:07 +0000)
commitdc88962350ea03cc132bbbda99747fc60e5ff455
treeda36d81a0d217176500ed2f20048528067949684
parent87e9d839a287d1ff2b318dad44c8c59091a0f0d1
Do not bailout from optimizing functions that use f(x, arguments)
if there is not enough type-feedback to detect that f is Function.prototype.apply.

BUG=v8:3709
LOG=N
TEST=mjsunit/regress/regress-3709

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

Cr-Commit-Position: refs/heads/master@{#25447}
src/ast.h
src/hydrogen.cc
src/hydrogen.h
src/type-info.cc
src/type-info.h
src/typing.cc
test/mjsunit/regress/regress-3709.js [new file with mode: 0644]