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

Issue 7150010: Distinguish keyed loads with a symbol key from fast elements loads. (Closed)

Created:
9 years, 6 months ago by fschneider
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Distinguish keyed loads with a symbol key from fast elements loads. This change fixes the deoptimization when a keyed load is used with a symbol key. Before we would wrongly generate a fast elements load. Now we generate a generic keyed load instead. BUG=1471 Committed: http://code.google.com/p/v8/source/detail?r=8281

Patch Set 1 #

Patch Set 2 : fixed lint error #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M src/ast.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M src/type-info.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/type-info.cc View 1 2 3 3 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fschneider
9 years, 6 months ago (2011-06-14 12:31:03 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM
9 years, 6 months ago (2011-06-14 12:44:14 UTC) #2
Vyacheslav Egorov (Chromium)
LGTM http://codereview.chromium.org/7150010/diff/4003/src/type-info.cc File src/type-info.cc (right): http://codereview.chromium.org/7150010/diff/4003/src/type-info.cc#newcode77 src/type-info.cc:77: bool TypeFeedbackOracle::LoadIsMonomorphic(Property* expr) { Maybe rename this function ...
9 years, 6 months ago (2011-06-14 12:45:26 UTC) #3
fschneider
I fixed the case for stores as well. Please have another look.
9 years, 6 months ago (2011-06-14 13:15:29 UTC) #4
Vyacheslav Egorov (Chromium)
9 years, 6 months ago (2011-06-14 13:20:51 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698