Revision: 9610
Author: [email protected]
Date: Thu Oct 13 06:41:47 2011
Log: Always limit inlining depth to avoid taking too much time for
--stress-opt runs.
We run with --nolimit-inlining when --stress-opt is on.
Review URL: http://codereview.chromium.org/8267007
http://code.google.com/p/v8/source/detail?r=9610
Modified:
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Tue Oct 11 01:41:19 2011
+++ /branches/bleeding_edge/src/hydrogen.cc Thu Oct 13 06:41:47 2011
@@ -4555,9 +4555,7 @@
HEnvironment* env = environment();
int current_level = 1;
while (env->outer() != NULL) {
- if (current_level == (FLAG_limit_inlining
- ? Compiler::kMaxInliningLevels
- : 2 * Compiler::kMaxInliningLevels)) {
+ if (current_level == Compiler::kMaxInliningLevels) {
TraceInline(target, caller, "inline depth limit reached");
return false;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev