Reland "Customized support for feedback on calls to Array." and follow-up fixes.
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 May 2014 13:59:24 +0000 (13:59 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 May 2014 13:59:24 +0000 (13:59 +0000)
commitd755611e931e19b3134e6e74bdb0fdbd12a33875
tree93ecdb80d78a955acf7fa412c237d98d950fc1c9
parent2dc61205fddef4cd25d37222d96e28c724ae6ee6
Reland "Customized support for feedback on calls to Array." and follow-up fixes.

Comparing one CallIC::State to another was not done correctly, leading to a failure to patch a CallIC when transitioning from monomorphic Array to megamorphic.

BUG=chromium:377198,chromium:377290
LOG=Y
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21499 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
18 files changed:
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/ast.h
src/code-stubs.h
src/hydrogen.cc
src/hydrogen.h
src/ia32/code-stubs-ia32.cc
src/ic.cc
src/ic.h
src/mips/code-stubs-mips.cc
src/objects.cc
src/type-info.cc
src/type-info.h
src/typing.cc
src/x64/code-stubs-x64.cc
test/mjsunit/array-constructor-feedback.js
test/mjsunit/array-feedback.js
test/mjsunit/regress/regress-377290.js [new file with mode: 0644]