Index: src/hydrogen.cc |
=================================================================== |
--- src/hydrogen.cc (revision 7492) |
+++ src/hydrogen.cc (working copy) |
@@ -3919,9 +3919,10 @@ |
return false; |
} |
- // Don't inline deeper than two calls. |
+ // Don't inline deeper than tree calls. |
Kevin Millikin (Chromium)
2011/04/04 13:17:10
tree --> three
Rico
2011/04/04 13:26:04
Done.
|
HEnvironment* env = environment(); |
- if (env->outer() != NULL && env->outer()->outer() != NULL) { |
+ if (env->outer() != NULL && env->outer()->outer() != NULL && |
+ env->outer()->outer()->outer() != NULL) { |
TraceInline(target, "inline depth limit reached"); |
return false; |
} |