| Index: src/runtime-profiler.cc
|
| diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc
|
| index 95e86b119c303ac8794e97a4416d8c5a6008cf49..c4b79b11b5ef8d2537cf96b8b6626b110699269c 100644
|
| --- a/src/runtime-profiler.cc
|
| +++ b/src/runtime-profiler.cc
|
| @@ -122,10 +122,9 @@ static void GetICCounts(JSFunction* function,
|
| void RuntimeProfiler::Optimize(JSFunction* function, const char* reason) {
|
| ASSERT(function->IsOptimizable());
|
|
|
| - if (FLAG_trace_opt) {
|
| + if (FLAG_trace_opt && function->PassesHydrogenFilter()) {
|
| PrintF("[marking ");
|
| - function->PrintName();
|
| - PrintF(" 0x%" V8PRIxPTR, reinterpret_cast<intptr_t>(function->address()));
|
| + function->ShortPrint();
|
| PrintF(" for recompilation, reason: %s", reason);
|
| if (FLAG_type_info_threshold > 0) {
|
| int typeinfo, total, percentage;
|
|
|