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

Issue 2195583002: [turbofan] Fix overly aggressive keyed access lowering. (Closed)

Created:
4 years, 4 months ago by Benedikt Meurer
Modified:
4 years, 4 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Fix overly aggressive keyed access lowering. The keyed load/store lowering is too aggressive when it comes to element vs. property access. If we cannot find a cached name on the IC we automatically assume that it's an element access, i.e. we assume that the key that is passed to the keyed access must be a valid array index then. But this is not true for megamorphic keyed load/store ICs, which do not have a cached name (because the IC saw different names), and thus use a different mechanism to indicate that it's a non-element access. Committed: https://crrev.com/c987284af0c57fcb42771d2a8119ad36b8feca2d Cr-Commit-Position: refs/heads/master@{#38155}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M src/compiler/js-native-context-specialization.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 2 chunks +7 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (7 generated)
Yang
lgtm
4 years, 4 months ago (2016-07-29 06:01:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2195583002/1
4 years, 4 months ago (2016-07-29 06:30:39 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-29 06:32:07 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 06:34:48 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c987284af0c57fcb42771d2a8119ad36b8feca2d
Cr-Commit-Position: refs/heads/master@{#38155}

Powered by Google App Engine
This is Rietveld 408576698