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

Issue 10203010: Improve --trace-gvn debug output (Closed)

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

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -14 lines) Patch
M src/hydrogen.cc View 1 4 chunks +106 lines, -14 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
danno
8 years, 8 months ago (2012-04-24 13:31:22 UTC) #1
Michael Starzinger
8 years, 8 months ago (2012-04-24 15:04:08 UTC) #2
LGTM (with a few nits).

https://chromiumcodereview.appspot.com/10203010/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

https://chromiumcodereview.appspot.com/10203010/diff/1/src/hydrogen.cc#newcod...
src/hydrogen.cc:1563: for (int bit = 0; bit < 31; ++bit) {
Better use "kAfterLastFlag" instead of "31" here.

https://chromiumcodereview.appspot.com/10203010/diff/1/src/hydrogen.cc#newcod...
src/hydrogen.cc:1572: bool positive_changes = set_changes < 8;
It would also be nice if "8" would somehow be based on the number of GVN flags.
Currently "set_changes <= kAfterLastFlag / 4" would probably do the trick. But I
don't know if that is less hacky.

https://chromiumcodereview.appspot.com/10203010/diff/1/src/hydrogen.cc#newcod...
src/hydrogen.cc:1580: for (int bit = 0; bit < 31; ++bit) {
Likewise.

https://chromiumcodereview.appspot.com/10203010/diff/1/src/hydrogen.cc#newcod...
src/hydrogen.cc:1609: for (int bit = 0; bit < 31; ++bit) {
Likewise.

Powered by Google App Engine
This is Rietveld 408576698