Index: test/cctest/compiler/test-representation-change.cc |
diff --git a/test/cctest/compiler/test-representation-change.cc b/test/cctest/compiler/test-representation-change.cc |
index ef85c0743cb3d73012593e6b65047d1f408b96a9..ab2a1f6dfe09b5bbf481bbbb087d1ff3883bc041 100644 |
--- a/test/cctest/compiler/test-representation-change.cc |
+++ b/test/cctest/compiler/test-representation-change.cc |
@@ -84,8 +84,8 @@ class RepresentationChangerTester : public HandleAndZoneScope, |
} |
Node* Return(Node* input) { |
- Node* n = graph()->NewNode(common()->Return(), input, graph()->start(), |
- graph()->start()); |
+ Node* n = graph()->NewNode(common()->Return(), jsgraph()->Int32Constant(0), |
+ input, graph()->start(), graph()->start()); |
return n; |
} |