| 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 e28273d3bed2617a021fc9b9e50dba1a19448d4d..f4ec0dd662d3622baebf1f9176661d23a2c08743 100644
|
| --- a/test/cctest/wasm/test-run-wasm-64.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-64.cc
|
| @@ -1622,3 +1622,19 @@ WASM_EXEC_TEST(MixedCall_i64_0) { Run_WasmMixedCall_N(execution_mode, 0); }
|
| WASM_EXEC_TEST(MixedCall_i64_1) { Run_WasmMixedCall_N(execution_mode, 1); }
|
| WASM_EXEC_TEST(MixedCall_i64_2) { Run_WasmMixedCall_N(execution_mode, 2); }
|
| WASM_EXEC_TEST(MixedCall_i64_3) { Run_WasmMixedCall_N(execution_mode, 3); }
|
| +
|
| +WASM_EXEC_TEST(Regress5874) {
|
| + REQUIRE(I32ConvertI64);
|
| + REQUIRE(I64LoadStore);
|
| + REQUIRE(I64Const);
|
| + WasmRunner<int32_t> r(execution_mode);
|
| + r.module().AddMemoryElems<int64_t>(8);
|
| +
|
| + BUILD(r, kExprI64Const, 0x00, // --
|
| + kExprI32ConvertI64, // --
|
| + kExprI64Const, 0x00, // --
|
| + kExprI64StoreMem, 0x03, 0x00, // --
|
| + kExprI32Const, 0x00); // --
|
| +
|
| + r.Call();
|
| +}
|
|
|