| Index: test/unittests/compiler/effect-control-linearizer-unittest.cc
|
| diff --git a/test/unittests/compiler/effect-control-linearizer-unittest.cc b/test/unittests/compiler/effect-control-linearizer-unittest.cc
|
| index cc697734a9872253e7cf43a1c681bf37c2de9f66..0a12ea371a4a987491122b3917eaf73f98e4a88a 100644
|
| --- a/test/unittests/compiler/effect-control-linearizer-unittest.cc
|
| +++ b/test/unittests/compiler/effect-control-linearizer-unittest.cc
|
| @@ -60,8 +60,7 @@
|
| Node* load = graph()->NewNode(
|
| simplified()->LoadField(AccessBuilder::ForHeapNumberValue()), heap_number,
|
| graph()->start(), graph()->start());
|
| - Node* zero = graph()->NewNode(common()->Int32Constant(0));
|
| - Node* ret = graph()->NewNode(common()->Return(), zero, load, graph()->start(),
|
| + Node* ret = graph()->NewNode(common()->Return(), load, graph()->start(),
|
| graph()->start());
|
|
|
| // Build the basic block structure.
|
| @@ -106,9 +105,8 @@
|
| Node* phi = graph()->NewNode(
|
| common()->Phi(MachineRepresentation::kFloat64, 2), vtrue, vfalse, merge);
|
|
|
| - Node* zero = graph()->NewNode(common()->Int32Constant(0));
|
| Node* ret =
|
| - graph()->NewNode(common()->Return(), zero, phi, graph()->start(), merge);
|
| + graph()->NewNode(common()->Return(), phi, graph()->start(), merge);
|
|
|
| // Build the basic block structure.
|
| BasicBlock* start = schedule.start();
|
| @@ -208,9 +206,8 @@
|
| Node* if_false2 = graph()->NewNode(common()->IfFalse(), branch2);
|
| Node* merge2 = graph()->NewNode(common()->Merge(2), if_true2, if_false2);
|
|
|
| - Node* zero = graph()->NewNode(common()->Int32Constant(0));
|
| - Node* ret = graph()->NewNode(common()->Return(), zero, call, graph()->start(),
|
| - if_success);
|
| + Node* ret =
|
| + graph()->NewNode(common()->Return(), call, graph()->start(), if_success);
|
|
|
| // Build the basic block structure.
|
| BasicBlock* start = schedule.start();
|
| @@ -292,9 +289,7 @@
|
| simplified()->LoadField(AccessBuilder::ForHeapNumberValue()), heap_number,
|
| graph()->start(), loop);
|
|
|
| - Node* zero = graph()->NewNode(common()->Int32Constant(0));
|
| - Node* ret =
|
| - graph()->NewNode(common()->Return(), zero, load, effect_phi, if_true);
|
| + Node* ret = graph()->NewNode(common()->Return(), load, effect_phi, if_true);
|
|
|
| // Build the basic block structure.
|
| BasicBlock* start = schedule.start();
|
|
|