Fix improved LoadICs for dictionaries with callbacks.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Aug 2012 13:17:47 +0000 (13:17 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Aug 2012 13:17:47 +0000 (13:17 +0000)
commit15589fe22a04c074edcf06af054ac986e951ed9a
treed3d232d4dbbd22bad4ddede8f8db30df4e612bc4
parent071f7fdfc123916de491b299424a8e95e4634a7b
Fix improved LoadICs for dictionaries with callbacks.

This fixes the positive lookup performed by these LoadICs, to use the
holder instead of the receiver to perfrom the lookup on. It also extends
this improvement to KeyedLoadICs. And it fixes a bug introduced for the
JavaScript getter case of a LoadIC.

R=erik.corry@gmail.com
BUG=chromium:142088
TEST=cctest/test-api/Regress142088,cctest/test-api/Regress137002b

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12311 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/stub-cache-arm.cc
src/ia32/stub-cache-ia32.cc
src/ic.cc
src/stub-cache.h
src/x64/ic-x64.cc
src/x64/stub-cache-x64.cc
test/cctest/test-api.cc