Chromium Code Reviews| Index: src/codegen.cc |
| =================================================================== |
| --- src/codegen.cc (revision 10973) |
| +++ src/codegen.cc (working copy) |
| @@ -124,11 +124,9 @@ |
| bool print_code = Isolate::Current()->bootstrapper()->IsActive() |
| ? FLAG_print_builtin_code |
| : (FLAG_print_code || (info->IsOptimizing() && FLAG_print_opt_code)); |
| - Vector<const char> filter = CStrVector(FLAG_hydrogen_filter); |
| - FunctionLiteral* function = info->function(); |
| - bool match = filter.is_empty() || function->debug_name()->IsEqualTo(filter); |
| - if (print_code && match) { |
| + if (print_code) { |
|
Sven Panne
2012/03/14 09:12:07
If we remove the flag here, it should probably be
|
| // Print the source code if available. |
| + FunctionLiteral* function = info->function(); |
| Handle<Script> script = info->script(); |
| if (!script->IsUndefined() && !script->source()->IsUndefined()) { |
| PrintF("--- Raw source ---\n"); |