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

Issue 9365057: Relax TransitionElementsKind DependsOn/Changes dependencies. (Closed)

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

Description

Relax TransitionElementsKind DependsOn/Changes dependencies. Ensure that GVN eliminates all transitions that are dominated by an equivalent transition, even if there is a DependsOn-changing instruction in between. R=fschneider@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=10731

Patch Set 1 #

Patch Set 2 : Ensure that MapChecks before and after transitions are recognized as dupes #

Total comments: 6

Patch Set 3 : Review feedback #

Patch Set 4 : Fix test case #

Total comments: 1

Patch Set 5 : Review feedback #

Patch Set 6 : Disable flag #

Patch Set 7 : Remove redundant code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -33 lines) Patch
M src/hydrogen.cc View 1 2 3 4 6 chunks +44 lines, -23 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 1 chunk +1 line, -10 lines 0 comments Download
M test/mjsunit/elements-transition-hoisting.js View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
danno
8 years, 10 months ago (2012-02-14 16:00:29 UTC) #1
fschneider
The issue description should describe all independent changes: 1. Enable smi-only arrays. 2. Enable GVN ...
8 years, 10 months ago (2012-02-15 15:36:48 UTC) #2
danno
Whoops. Wrong version uploaded. I uploaded the right one with your feedback addressed. The smi-only ...
8 years, 10 months ago (2012-02-16 13:08:52 UTC) #3
fschneider
https://chromiumcodereview.appspot.com/9365057/diff/12001/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/9365057/diff/12001/src/hydrogen.cc#newcode1179 src/hydrogen.cc:1179: if (value->gvn_flags().ContainsAnyOf(depends_flags)) { You'd also need to handle TransitionElementsKind ...
8 years, 10 months ago (2012-02-16 13:50:51 UTC) #4
danno
Changed as discussed, please have another look.
8 years, 10 months ago (2012-02-16 14:59:51 UTC) #5
fschneider
8 years, 10 months ago (2012-02-16 15:32:28 UTC) #6
LGTM.

Powered by Google App Engine
This is Rietveld 408576698