Index: test/cctest/compiler/graph-builder-tester.h |
diff --git a/test/cctest/compiler/graph-builder-tester.h b/test/cctest/compiler/graph-builder-tester.h |
index c257448b8adf3ccbe16ff5a5f3eb3590542966d3..a2436ad1d2618b5758db4f4c333d14da14f5946d 100644 |
--- a/test/cctest/compiler/graph-builder-tester.h |
+++ b/test/cctest/compiler/graph-builder-tester.h |
@@ -86,8 +86,9 @@ class GraphBuilderTester : public HandleAndZoneScope, |
} |
void Return(Node* value) { |
- return_ = |
- graph()->NewNode(common()->Return(), value, effect_, graph()->start()); |
+ Node* zero = graph()->NewNode(common()->Int32Constant(0)); |
+ return_ = graph()->NewNode(common()->Return(), zero, value, effect_, |
+ graph()->start()); |
effect_ = NULL; |
} |