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

Issue 9141016: Improve GVN handling of ElementTransitions. (Closed)

Created:
8 years, 11 months ago by danno
Modified:
8 years, 10 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Improve GVN handling of ElementTransitions. BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=10651

Patch Set 1 #

Patch Set 2 : Merge with latest #

Patch Set 3 : tweks #

Patch Set 4 : More tweaks #

Patch Set 5 : Remove debugging code #

Total comments: 4

Patch Set 6 : Review feedback #

Patch Set 7 : review feedback #

Total comments: 12

Patch Set 8 : review feedback #

Patch Set 9 : fix all bugs. really. #

Patch Set 10 : nits #

Total comments: 24

Patch Set 11 : review feedback #

Patch Set 12 : nits #

Total comments: 14

Patch Set 13 : Review feedback #

Total comments: 2

Patch Set 14 : Disabled smi-only-arrays by default #

Patch Set 15 : Fix comment nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -33 lines) Patch
M src/hydrogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +24 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +139 lines, -24 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +40 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -6 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/elements-transition-hoisting.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +168 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
danno
PTAL
8 years, 11 months ago (2012-01-24 22:10:48 UTC) #1
fschneider
http://codereview.chromium.org/9141016/diff/8001/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/9141016/diff/8001/src/hydrogen.cc#newcode1494 src/hydrogen.cc:1494: // instruction. In general a path from the header ...
8 years, 11 months ago (2012-01-25 00:04:57 UTC) #2
danno
Please take another look. https://chromiumcodereview.appspot.com/9141016/diff/8001/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/9141016/diff/8001/src/hydrogen.cc#newcode1494 src/hydrogen.cc:1494: // instruction. I'm not sure ...
8 years, 10 months ago (2012-01-31 15:38:25 UTC) #3
fschneider
https://chromiumcodereview.appspot.com/9141016/diff/16001/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/9141016/diff/16001/src/hydrogen.cc#newcode1478 src/hydrogen.cc:1478: // the current block contain all of the loop's ...
8 years, 10 months ago (2012-02-01 10:54:14 UTC) #4
danno
please take another look. http://codereview.chromium.org/9141016/diff/16001/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/9141016/diff/16001/src/hydrogen.cc#newcode1478 src/hydrogen.cc:1478: // the current block contain ...
8 years, 10 months ago (2012-02-01 16:53:15 UTC) #5
fschneider
http://codereview.chromium.org/9141016/diff/20017/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): http://codereview.chromium.org/9141016/diff/20017/src/hydrogen-instructions.h#newcode4170 src/hydrogen-instructions.h:4170: SetGVNFlag(kDependsOnMaps); There is currently no instruction that has kChangesMaps ...
8 years, 10 months ago (2012-02-02 14:59:50 UTC) #6
danno
Feedback addressed, please take another look. http://codereview.chromium.org/9141016/diff/20017/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): http://codereview.chromium.org/9141016/diff/20017/src/hydrogen-instructions.h#newcode4170 src/hydrogen-instructions.h:4170: SetGVNFlag(kDependsOnMaps); But if ...
8 years, 10 months ago (2012-02-06 16:54:57 UTC) #7
fschneider
Please make sure that all tests work in the intended way by verifying the HIR ...
8 years, 10 months ago (2012-02-07 10:05:05 UTC) #8
danno
Addressed feedback. http://codereview.chromium.org/9141016/diff/29002/test/mjsunit/elements-transition-hoisting.js File test/mjsunit/elements-transition-hoisting.js (right): http://codereview.chromium.org/9141016/diff/29002/test/mjsunit/elements-transition-hoisting.js#newcode45 test/mjsunit/elements-transition-hoisting.js:45: // Make sure that multiple stores to ...
8 years, 10 months ago (2012-02-08 17:18:42 UTC) #9
fschneider
8 years, 10 months ago (2012-02-09 08:43:32 UTC) #10
LGTM.

http://codereview.chromium.org/9141016/diff/35001/src/flag-definitions.h
File src/flag-definitions.h (right):

http://codereview.chromium.org/9141016/diff/35001/src/flag-definitions.h#newc...
src/flag-definitions.h:121: DEFINE_bool(smi_only_arrays, true, "tracks arrays
with only smi values")
Not sure if this is intended.

http://codereview.chromium.org/9141016/diff/35001/test/mjsunit/elements-trans...
File test/mjsunit/elements-transition-hoisting.js (right):

http://codereview.chromium.org/9141016/diff/35001/test/mjsunit/elements-trans...
test/mjsunit/elements-transition-hoisting.js:84: // depend on an elements
transition before them  and it's not possible to hoist
Long line.

Powered by Google App Engine
This is Rietveld 408576698