Index: test/unittests/compiler/loop-peeling-unittest.cc |
diff --git a/test/unittests/compiler/loop-peeling-unittest.cc b/test/unittests/compiler/loop-peeling-unittest.cc |
index de784c6d0bd15030bca508505a719bcb2e39e05d..969f253ae1a513b68d996d1645be1658bcc4392d 100644 |
--- a/test/unittests/compiler/loop-peeling-unittest.cc |
+++ b/test/unittests/compiler/loop-peeling-unittest.cc |
@@ -90,7 +90,8 @@ class LoopPeelingTest : public GraphTest { |
} |
Node* InsertReturn(Node* val, Node* effect, Node* control) { |
- Node* r = graph()->NewNode(common()->Return(), val, effect, control); |
+ Node* zero = graph()->NewNode(common()->Int32Constant(0)); |
+ Node* r = graph()->NewNode(common()->Return(), zero, val, effect, control); |
graph()->SetEnd(r); |
return r; |
} |