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

Issue 9691042: Change --hydrogen-filter to allow specifying a negative filter for optimized functions. (Closed)

Created:
8 years, 9 months ago by fschneider
Modified:
8 years, 9 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Change --hydrogen-filter to allow specifying a negative filter for optimized functions. When prepending a '-' to the function name, the function will not be optimized. --hydrogen-filter=foo works as before. --hydrogen-filter=-foo means don't optimize foo. Committed: https://code.google.com/p/v8/source/detail?r=11036

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments and fixed PrintCode #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -17 lines) Patch
M src/codegen.cc View 1 2 2 chunks +2 lines, -11 lines 0 comments Download
M src/compiler.cc View 1 1 chunk +8 lines, -5 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
fschneider
8 years, 9 months ago (2012-03-13 12:41:08 UTC) #1
Sven Panne
I think the whole code for matching against FLAG_hydrogen_stats should be moved into a separate ...
8 years, 9 months ago (2012-03-14 07:35:35 UTC) #2
fschneider
The hydrogen-filter flag should not be used anywhere else. I removed the filter from the ...
8 years, 9 months ago (2012-03-14 08:34:58 UTC) #3
Sven Panne
8 years, 9 months ago (2012-03-14 09:12:06 UTC) #4
LGTM with nits: Remove another print-related occurrence of the flag + improve
the flag description in flag-definitions.h a bit, "hydrogen use/trace filter" is
a bit cryptic and doesn't even mention the "-" prefix.

https://chromiumcodereview.appspot.com/9691042/diff/5001/src/codegen.cc
File src/codegen.cc (right):

https://chromiumcodereview.appspot.com/9691042/diff/5001/src/codegen.cc#newco...
src/codegen.cc:127: if (print_code) {
If we remove the flag here, it should probably be removed in MakeCodePrologue,
too.

Powered by Google App Engine
This is Rietveld 408576698