Index: test/cctest/wasm/test-run-wasm-64.cc |
diff --git a/test/cctest/wasm/test-run-wasm-64.cc b/test/cctest/wasm/test-run-wasm-64.cc |
index 9cc15a74f75dfec5b64fc3010aa9f13869886882..78c5efce3d79db8c7c59d9946349c393583354b1 100644 |
--- a/test/cctest/wasm/test-run-wasm-64.cc |
+++ b/test/cctest/wasm/test-run-wasm-64.cc |
@@ -173,8 +173,7 @@ TEST(Run_WasmCallI64Parameter) { |
uint32_t index = t.CompileAndAdd(); |
// Build the calling function. |
- WasmRunner<int32_t> r; |
- r.env()->module = &module; |
+ WasmRunner<int32_t> r(&module); |
BUILD(r, |
WASM_I32_CONVERT_I64(WASM_CALL_FUNCTION( |
index, WASM_I64(0xbcd12340000000b), WASM_I64(0xbcd12340000000c), |