Index: test/cctest/wasm/test-run-wasm.cc |
diff --git a/test/cctest/wasm/test-run-wasm.cc b/test/cctest/wasm/test-run-wasm.cc |
index 2fa1c10f660e825a86c475807efd003e635644bb..a5f7ddec2b7833e12659842f6add1e06a4372d7c 100644 |
--- a/test/cctest/wasm/test-run-wasm.cc |
+++ b/test/cctest/wasm/test-run-wasm.cc |
@@ -1808,6 +1808,7 @@ TEST(Build_Wasm_UnreachableIf2) { |
WASM_EXEC_TEST(Unreachable_Load) { |
WasmRunner<int32_t, int32_t> r(execution_mode); |
+ r.module().AddMemory(0L); |
BUILD(r, WASM_BLOCK_I(WASM_BRV(0, WASM_GET_LOCAL(0)), |
WASM_LOAD_MEM(MachineType::Int8(), WASM_GET_LOCAL(0)))); |
CHECK_EQ(11, r.Call(11)); |