Index: test/cctest/compiler/test-simplified-lowering.cc |
diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc |
index 934f958f00598242965f2a5a5eedc450e92b8f3f..07f51533f1da31b6248a5d93e252b5481105129b 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -1219,10 +1219,7 @@ |
static void CheckChangesAroundBinop(TestingGraph* t, const Operator* op, |
IrOpcode::Value input_change, |
IrOpcode::Value output_change) { |
- Node* binop = |
- op->ControlInputCount() == 0 |
- ? t->graph()->NewNode(op, t->p0, t->p1) |
- : t->graph()->NewNode(op, t->p0, t->p1, t->graph()->start()); |
+ Node* binop = t->graph()->NewNode(op, t->p0, t->p1); |
t->Return(binop); |
t->Lower(); |
CHECK_EQ(input_change, binop->InputAt(0)->opcode()); |