Index: test/cctest/compiler/test-run-native-calls.cc |
diff --git a/test/cctest/compiler/test-run-native-calls.cc b/test/cctest/compiler/test-run-native-calls.cc |
index 89629ec09016384d543e0ba6c52a7ef6cddcb84a..7885ba40148b661b6ceedda7d5fa4a029d186b13 100644 |
--- a/test/cctest/compiler/test-run-native-calls.cc |
+++ b/test/cctest/compiler/test-run-native-calls.cc |
@@ -293,9 +293,7 @@ |
// Build the call and return nodes. |
Node* call = |
b.graph()->NewNode(b.common()->Call(desc), param_count + 3, args); |
- Node* zero = b.graph()->NewNode(b.common()->Int32Constant(0)); |
- Node* ret = |
- b.graph()->NewNode(b.common()->Return(), zero, call, call, start); |
+ Node* ret = b.graph()->NewNode(b.common()->Return(), call, call, start); |
b.graph()->SetEnd(ret); |
} |
@@ -533,9 +531,7 @@ |
Node* p0 = b.graph()->NewNode(b.common()->Parameter(0), start); |
Node* p1 = b.graph()->NewNode(b.common()->Parameter(1), start); |
Node* add = b.graph()->NewNode(b.machine()->Int32Sub(), p0, p1); |
- Node* zero = b.graph()->NewNode(b.common()->Int32Constant(0)); |
- Node* ret = |
- b.graph()->NewNode(b.common()->Return(), zero, add, start, start); |
+ Node* ret = b.graph()->NewNode(b.common()->Return(), add, start, start); |
b.graph()->SetEnd(ret); |
} |