Fix performance bug in scheduler.
authorsigurds@chromium.org <sigurds@chromium.org>
Tue, 14 Oct 2014 16:28:32 +0000 (16:28 +0000)
committersigurds@chromium.org <sigurds@chromium.org>
Tue, 14 Oct 2014 16:28:32 +0000 (16:28 +0000)
TBR=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/651233002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24610 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/compiler/scheduler.cc

index c3fa6b9..4952827 100644 (file)
@@ -715,7 +715,7 @@ bool Scheduler::ConnectFloatingControl() {
         Trace("  Floating control #%d:%s was scheduled in B%d\n", node->id(),
               node->op()->mnemonic(), block->id().ToInt());
         ConnectFloatingControlSubgraph(block, node);
-        return true;
+        break;
       }
     }
   }