Index: test/cctest/wasm/wasm-run-utils.h |
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
index 4f997106cad90bc3cc255a5edbd74a2784e0c018..460e130aac038b627663e16225fc843edb960155 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -391,8 +391,9 @@ class WasmFunctionWrapper : public HandleAndZoneScope, |
graph()->start()), |
graph()->NewNode(common()->Int32Constant(0)), call, effect, |
graph()->start()); |
+ Node* zero = graph()->NewNode(common()->Int32Constant(0)); |
Node* r = graph()->NewNode( |
- common()->Return(), |
+ common()->Return(), zero, |
graph()->NewNode(common()->Int32Constant(WASM_WRAPPER_RETURN_VALUE)), |
effect, graph()->start()); |
graph()->SetEnd(graph()->NewNode(common()->End(2), r, graph()->start())); |