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

Unified Diff: src/compiler.cc

Issue 20084003: Add --trace-hydrogen-stubs flag (default = false). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index c2995773e3fe31d250f1e8ab76e82b848885a28d..2002837e43919b790416bb7d6c94b18bd75a05fb 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -1249,7 +1249,7 @@ CompilationPhase::~CompilationPhase() {
bool CompilationPhase::ShouldProduceTraceOutput() const {
// Produce trace output if flag is set so that the first letter of the
// phase name matches the command line parameter FLAG_trace_phase.
- return (FLAG_trace_hydrogen &&
+ return ((FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) &&
Michael Starzinger 2013/07/24 12:03:54 IIUC, this will still create output for both, stub
OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
}
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/flag-definitions.h » ('j') | src/flag-definitions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698