Revision: 24797
Author:   [email protected]
Date:     Wed Oct 22 09:14:48 2014 UTC
Log:      Remove testing artifacts from Schedule::AddFoo.

[email protected]

Review URL: https://codereview.chromium.org/641553003
https://code.google.com/p/v8/source/detail?r=24797

Modified:
 /branches/bleeding_edge/src/compiler/schedule.cc

=======================================
--- /branches/bleeding_edge/src/compiler/schedule.cc Mon Oct 20 10:19:15 2014 UTC +++ /branches/bleeding_edge/src/compiler/schedule.cc Wed Oct 22 09:14:48 2014 UTC
@@ -194,10 +194,6 @@
   AddSuccessor(block, tblock);
   AddSuccessor(block, fblock);
   SetControlInput(block, branch);
-  if (branch->opcode() == IrOpcode::kBranch) {
-    // TODO(titzer): require a Branch node here. (sloppy tests).
-    SetBlockForNode(block, branch);
-  }
 }


@@ -205,13 +201,7 @@
   DCHECK(block->control() == BasicBlock::kNone);
   block->set_control(BasicBlock::kReturn);
   SetControlInput(block, input);
-  if (block != end()) {
-    AddSuccessor(block, end());
-  }
-  if (input->opcode() == IrOpcode::kReturn) {
-    // TODO(titzer): require a Return node here. (sloppy tests).
-    SetBlockForNode(block, input);
-  }
+  if (block != end()) AddSuccessor(block, end());
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to