Special Array constructor type feedback erroneously recorded when Array
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 3 Jun 2013 14:46:23 +0000 (14:46 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 3 Jun 2013 14:46:23 +0000 (14:46 +0000)
commit3d3c6b15991a763cdaace6f16effa163e2d25eeb
treec63dbb488a2871a0299646ded2c43e72516a23ac
parentab38804e35a8e3b3c9089130928b2c752faa7c49
Special Array constructor type feedback erroneously recorded when Array
was called as a function. Issue was found with optimize_constructed_array
turned on. This patch makes the fix, and turns the flag back on.

BUG=244461
R=danno@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14917 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/code-stubs-arm.cc
src/flag-definitions.h
src/ia32/code-stubs-ia32.cc
src/mips/code-stubs-mips.cc
src/x64/code-stubs-x64.cc
test/mjsunit/allocation-site-info.js
test/mjsunit/regress/regress-crbug-244461.js [new file with mode: 0644]