| Index: src/runtime-profiler.cc
|
| diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc
|
| index bea7bca5f522c2ac671954ebdde3147ae420c9bc..3752b279f5b516cfb2217b0f1d49361574a89e66 100644
|
| --- a/src/runtime-profiler.cc
|
| +++ b/src/runtime-profiler.cc
|
| @@ -127,7 +127,7 @@ static void GetICCounts(Code* shared_code,
|
| void RuntimeProfiler::Optimize(JSFunction* function, const char* reason) {
|
| ASSERT(function->IsOptimizable());
|
|
|
| - if (FLAG_trace_opt && function->PassesHydrogenFilter()) {
|
| + if (FLAG_trace_opt && function->PassesFilter(FLAG_hydrogen_filter)) {
|
| PrintF("[marking ");
|
| function->ShortPrint();
|
| PrintF(" for recompilation, reason: %s", reason);
|
|
|