Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Issue 10828303: Fix improved LoadICs for dictionaries with callbacks. (Closed)

Created:
8 years, 4 months ago by Michael Starzinger
Modified:
8 years, 4 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

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 Committed: https://code.google.com/p/v8/source/detail?r=12311

Patch Set 1 #

Patch Set 2 : Ported to ARM. #

Total comments: 2

Patch Set 3 : Ported to all architectures and addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -35 lines) Patch
M src/arm/stub-cache-arm.cc View 1 2 6 chunks +16 lines, -12 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 6 chunks +24 lines, -7 lines 0 comments Download
M src/ic.cc View 2 chunks +1 line, -1 line 0 comments Download
M src/stub-cache.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 6 chunks +16 lines, -9 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 5 chunks +38 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Erik Corry
LGTM, thanks for fixing.
8 years, 4 months ago (2012-08-14 09:38:35 UTC) #1
Erik Corry
Comment on the ARM version: https://chromiumcodereview.appspot.com/10828303/diff/2001/src/arm/stub-cache-arm.cc File src/arm/stub-cache-arm.cc (right): https://chromiumcodereview.appspot.com/10828303/diff/2001/src/arm/stub-cache-arm.cc#newcode1248 src/arm/stub-cache-arm.cc:1248: __ push(dictionary); This is ...
8 years, 4 months ago (2012-08-14 11:03:33 UTC) #2
Michael Starzinger
https://chromiumcodereview.appspot.com/10828303/diff/2001/src/arm/stub-cache-arm.cc File src/arm/stub-cache-arm.cc (right): https://chromiumcodereview.appspot.com/10828303/diff/2001/src/arm/stub-cache-arm.cc#newcode1248 src/arm/stub-cache-arm.cc:1248: __ push(dictionary); On 2012/08/14 11:03:33, Erik Corry wrote: > ...
8 years, 4 months ago (2012-08-14 11:44:05 UTC) #3
Erik Corry
8 years, 4 months ago (2012-08-14 11:59:27 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698