| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 4b2d1d204a2548a49b30ad3e28cc91dd475fd084..7b61c777990fae04caeae976e250a20d57df9412 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -978,7 +978,9 @@ void Compiler::RecompileParallel(Handle<JSFunction> closure) {
|
|
|
| if (!isolate->optimizing_compiler_thread()->IsQueueAvailable()) {
|
| if (FLAG_trace_parallel_recompilation) {
|
| - PrintF(" ** Compilation queue, will retry opting on next run.\n");
|
| + PrintF(" ** Compilation queue full, will retry optimizing ");
|
| + closure->PrintName();
|
| + PrintF(" on next run.\n");
|
| }
|
| return;
|
| }
|
| @@ -1256,10 +1258,13 @@ 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 &&
|
| - OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
|
| + // Trace if the appropriate trace flag is set and the phase name's first
|
| + // character is in the FLAG_trace_phase command line parameter.
|
| + bool tracing_on = info()->IsStub() ?
|
| + FLAG_trace_hydrogen_stubs :
|
| + FLAG_trace_hydrogen;
|
| + return (tracing_on &&
|
| + OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);
|
| }
|
|
|
| } } // namespace v8::internal
|
|
|