Reviewers: Erik Corry,

Description:
Always limit inlining depth to avoid taking too much time for --stress-opt runs.

We run with --nolimit-inlining when --stress-opt is on.

Please review this at http://codereview.chromium.org/8267007/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/hydrogen.cc


Index: src/hydrogen.cc
===================================================================
--- src/hydrogen.cc     (revision 9609)
+++ src/hydrogen.cc     (working copy)
@@ -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

Reply via email to