Chromium Code Reviews| Index: src/hydrogen.cc |
| =================================================================== |
| --- src/hydrogen.cc (revision 9312) |
| +++ src/hydrogen.cc (working copy) |
| @@ -4487,7 +4487,7 @@ |
| HEnvironment* env = environment(); |
| int current_level = 1; |
| while (env->outer() != NULL) { |
| - if (current_level == Compiler::kMaxInliningLevels) { |
| + if (FLAG_limit_inlining && current_level == Compiler::kMaxInliningLevels) { |
| TraceInline(target, caller, "inline depth limit reached"); |
| return false; |
| } |