Continued fix for 351257. Reusing the feedback vector is too complex.
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 14 Mar 2014 09:28:37 +0000 (09:28 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 14 Mar 2014 09:28:37 +0000 (09:28 +0000)
commitdd28969c1ccd8d27b51b4e11c401b6bd23638ba0
tree757dabe1c929673e54528a924eff8dda39e2bab3
parent0a61b7c996f94a7cafe7a538aaa6a65b636522ad
Continued fix for 351257. Reusing the feedback vector is too complex.

Attempting to re-use the type feedback vector stored in the
SharedFunctionInfo turns out to be difficult among the various cases.
It will be much easier to do this when deferred type feedback processing
is removed, as is in the works.

Created bug v8:3212 to track re-introducing the optimization of reusing
the type vector on recompile before optimization.

The CL also brings back the type vector on the SharedFunctionInfo.

BUG=351257
LOG=Y
R=bmeurer@chromium.org, bmeuer@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
27 files changed:
src/a64/full-codegen-a64.cc
src/arm/full-codegen-arm.cc
src/compiler.cc
src/compiler.h
src/factory.cc
src/factory.h
src/full-codegen.cc
src/full-codegen.h
src/heap-snapshot-generator.cc
src/heap.cc
src/hydrogen.cc
src/ia32/full-codegen-ia32.cc
src/mips/full-codegen-mips.cc
src/objects-debug.cc
src/objects-inl.h
src/objects-printer.cc
src/objects-visiting-inl.h
src/objects.cc
src/objects.h
src/runtime.cc
src/type-info.cc
src/type-info.h
src/typing.cc
src/x64/full-codegen-x64.cc
test/cctest/test-compiler.cc
test/cctest/test-heap.cc
test/mjsunit/regress/regress-351257.js [new file with mode: 0644]