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

Issue 584043002: Add MEGAMORPHIC state support for KeyedStoreIC (Closed)

Created:
6 years, 3 months ago by Jakob Kummerow
Modified:
6 years, 2 months ago
Reviewers:
mvstanton
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Add MEGAMORPHIC state support for KeyedStoreIC R=mvstanton@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24500

Patch Set 1 #

Patch Set 2 : rebased and updated #

Total comments: 3

Patch Set 3 : address comment: add comment #

Patch Set 4 : rebased for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -35 lines) Patch
M src/builtins.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/builtins.cc View 1 1 chunk +12 lines, -2 lines 0 comments Download
M src/ic/arm/ic-arm.cc View 1 5 chunks +25 lines, -4 lines 0 comments Download
M src/ic/arm64/ic-arm64.cc View 1 5 chunks +27 lines, -3 lines 0 comments Download
M src/ic/ia32/ic-ia32.cc View 1 4 chunks +27 lines, -4 lines 0 comments Download
M src/ic/ic.h View 1 2 3 3 chunks +9 lines, -2 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 6 chunks +21 lines, -12 lines 0 comments Download
M src/ic/x64/ic-x64.cc View 1 4 chunks +26 lines, -4 lines 0 comments Download
M src/ic/x64/stub-cache-x64.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Jakob Kummerow
Please take a look. As discussed offline, a planned follow-up is to replace StoreIC::generic_stub() with ...
6 years, 2 months ago (2014-10-07 10:39:16 UTC) #2
mvstanton
LGTM, good luck with the !is_target_set() piece :). https://codereview.chromium.org/584043002/diff/20001/src/ic/ic.cc File src/ic/ic.cc (right): https://codereview.chromium.org/584043002/diff/20001/src/ic/ic.cc#newcode905 src/ic/ic.cc:905: if ...
6 years, 2 months ago (2014-10-08 14:04:51 UTC) #3
Jakob Kummerow
Committed patchset #4 (id:60001) manually as 24500 (presubmit successful).
6 years, 2 months ago (2014-10-09 14:31:00 UTC) #4
Jakob Kummerow
6 years, 2 months ago (2014-10-20 10:39:38 UTC) #5
Message was sent while issue was closed.
(just found this unsent draft comment)

https://codereview.chromium.org/584043002/diff/20001/src/ic/ic.cc
File src/ic/ic.cc (right):

https://codereview.chromium.org/584043002/diff/20001/src/ic/ic.cc#newcode905
src/ic/ic.cc:905: if (kind() == Code::KEYED_LOAD_IC) return;
On 2014/10/08 14:04:51, mvstanton wrote:
> Maybe a comment here? I'm not sure why keyed stores get to update the cache,
but
> keyed loads don't.

Because this CL adds megamorphic state for keyed stores. Keyed loads are never
megamorphic. Comment added.

Powered by Google App Engine
This is Rietveld 408576698