Index: test/unittests/compiler/common-operator-reducer-unittest.cc |
diff --git a/test/unittests/compiler/common-operator-reducer-unittest.cc b/test/unittests/compiler/common-operator-reducer-unittest.cc |
index f294a305967e9ebf876b2f4581db7eaad456291a..d28477239535b9ebce60ec6c28206969bbd0c719 100644 |
--- a/test/unittests/compiler/common-operator-reducer-unittest.cc |
+++ b/test/unittests/compiler/common-operator-reducer-unittest.cc |
@@ -361,9 +361,7 @@ |
Node* ephi = graph()->NewNode(common()->EffectPhi(2), etrue, efalse, merge); |
Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2), |
vtrue, vfalse, merge); |
- |
- Node* zero = graph()->NewNode(common()->Int32Constant(0)); |
- Node* ret = graph()->NewNode(common()->Return(), zero, phi, ephi, merge); |
+ Node* ret = graph()->NewNode(common()->Return(), phi, ephi, merge); |
graph()->SetEnd(graph()->NewNode(common()->End(1), ret)); |
StrictMock<MockAdvancedReducerEditor> editor; |
EXPECT_CALL(editor, Replace(merge, IsDead())); |