Implement target cache for constructor calls.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Jan 2012 13:03:19 +0000 (13:03 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Jan 2012 13:03:19 +0000 (13:03 +0000)
commit8c12b6b74384e8b6c5f6d8d53e13a7157e785c27
tree215a9646cdb426b785e51ec18232e0cfcd4118ea
parent449d7e7def59dd789826ba0548735a7fcaa23c1f
Implement target cache for constructor calls.

This caches call targets of constructor calls by associating one element
caches with call sites. The type feedback oracle can use the recorded
valued to gather type information for monomorphic constructor call sites.

R=kmillikin@chromium.org,vegorov@chromium.org

Review URL: https://chromiumcodereview.appspot.com/8932004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10531 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
28 files changed:
src/arm/builtins-arm.cc
src/arm/code-stubs-arm.cc
src/arm/debug-arm.cc
src/arm/full-codegen-arm.cc
src/arm/lithium-codegen-arm.cc
src/builtins.h
src/code-stubs.cc
src/code-stubs.h
src/full-codegen.cc
src/full-codegen.h
src/heap.cc
src/ia32/assembler-ia32.h
src/ia32/builtins-ia32.cc
src/ia32/code-stubs-ia32.cc
src/ia32/debug-ia32.cc
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/mark-compact.cc
src/objects-inl.h
src/objects-visiting-inl.h
src/objects.h
src/type-info.cc
src/type-info.h
src/x64/builtins-x64.cc
src/x64/code-stubs-x64.cc
src/x64/debug-x64.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc