Eliminate special keyed load string stub in favor of uniform handlers.
authormvstanton@chromium.org <mvstanton@chromium.org>
Thu, 16 Oct 2014 11:42:47 +0000 (11:42 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org>
Thu, 16 Oct 2014 11:42:47 +0000 (11:42 +0000)
commitecac8b0877138098019a22dac635956ebbc6c4e1
treead884cbb69d5fb4e45f608127b4b36da5cf51864
parentfe3a8845f044c808645367f63d5a7cf0056853c6
Eliminate special keyed load string stub in favor of uniform handlers.

KeyedLoadIC installs a special case if the receiver is a string.
Although there are several maps for strings, in practice we seem to
be able to treat them individually because a given KeyedLoad site
only sees 1-2 string types.

R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24661 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
19 files changed:
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/builtins.cc
src/builtins.h
src/code-stubs.h
src/ia32/code-stubs-ia32.cc
src/ic/arm/ic-arm.cc
src/ic/arm64/ic-arm64.cc
src/ic/handler-compiler.cc
src/ic/ia32/ic-ia32.cc
src/ic/ic-compiler.cc
src/ic/ic.cc
src/ic/ic.h
src/ic/mips/ic-mips.cc
src/ic/x64/ic-x64.cc
src/mips/code-stubs-mips.cc
src/objects.h
src/type-info.cc
src/x64/code-stubs-x64.cc