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

Issue 10532063: Optimistically assume that elements IC only transition once. (Closed)

Created:
8 years, 6 months ago by danno
Modified:
8 years, 6 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Optimistically assume that elements IC only transition once. Thanks to Zheng Liu for identifying this issue. R=jkummerow@chromium.org BUG=v8:2141 TEST=test/mjsunit/elements-kind.js Committed: https://code.google.com/p/v8/source/detail?r=11739

Patch Set 1 #

Patch Set 2 : Add assertion #

Total comments: 1

Patch Set 3 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -49 lines) Patch
M src/elements-kind.h View 1 chunk +11 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ic.h View 2 chunks +7 lines, -1 line 0 comments Download
M src/ic.cc View 1 2 chunks +31 lines, -26 lines 0 comments Download
M src/objects.h View 2 chunks +4 lines, -4 lines 0 comments Download
M src/objects.cc View 4 chunks +16 lines, -2 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/stub-cache.h View 1 chunk +1 line, -1 line 0 comments Download
M src/stub-cache.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M test/mjsunit/elements-kind.js View 1 chunk +3 lines, -1 line 0 comments Download
M test/mjsunit/elements-transition-hoisting.js View 1 2 7 chunks +29 lines, -10 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
danno
PTAL
8 years, 6 months ago (2012-06-08 11:45:03 UTC) #1
Jakob Kummerow
8 years, 6 months ago (2012-06-08 12:18:30 UTC) #2
LGTM

http://codereview.chromium.org/10532063/diff/13/test/mjsunit/elements-transit...
File test/mjsunit/elements-transition-hoisting.js (right):

http://codereview.chromium.org/10532063/diff/13/test/mjsunit/elements-transit...
test/mjsunit/elements-transition-hoisting.js:61: testDoubleConversion4(new
Array(5)); // Call twice to make sure that second
nit: Two spaces between ; and //, and a full stop at the end.
Consider putting the comment on its own line to save a line break.

More of the same below.

Powered by Google App Engine
This is Rietveld 408576698