diff options
Diffstat (limited to 'deps/v8/test/cctest/wasm/test-run-wasm-memory64.cc')
-rw-r--r-- | deps/v8/test/cctest/wasm/test-run-wasm-memory64.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/deps/v8/test/cctest/wasm/test-run-wasm-memory64.cc b/deps/v8/test/cctest/wasm/test-run-wasm-memory64.cc index 73a670a6b3..633dc309f7 100644 --- a/deps/v8/test/cctest/wasm/test-run-wasm-memory64.cc +++ b/deps/v8/test/cctest/wasm/test-run-wasm-memory64.cc @@ -17,9 +17,9 @@ template <typename ReturnType, typename... ParamTypes> class Memory64Runner : public WasmRunner<ReturnType, ParamTypes...> { public: explicit Memory64Runner(TestExecutionTier execution_tier) - : WasmRunner<ReturnType, ParamTypes...>(execution_tier, nullptr, "main", - kNoRuntimeExceptionSupport, - kMemory64) { + : WasmRunner<ReturnType, ParamTypes...>( + execution_tier, kWasmOrigin, nullptr, "main", + kNoRuntimeExceptionSupport, kMemory64) { this->builder().EnableFeature(kFeature_memory64); } }; @@ -32,7 +32,7 @@ WASM_EXEC_TEST(Load) { uint32_t* memory = r.builder().AddMemoryElems<uint32_t>(kWasmPageSize / sizeof(int32_t)); - BUILD(r, WASM_LOAD_MEM(MachineType::Int32(), WASM_LOCAL_GET(0))); + r.Build({WASM_LOAD_MEM(MachineType::Int32(), WASM_LOCAL_GET(0))}); CHECK_EQ(0, r.Call(0)); @@ -94,7 +94,7 @@ WASM_EXEC_TEST(MemorySize) { constexpr int kNumPages = 13; r.builder().AddMemoryElems<uint8_t>(kNumPages * kWasmPageSize); - BUILD(r, WASM_MEMORY_SIZE); + r.Build({WASM_MEMORY_SIZE}); CHECK_EQ(kNumPages, r.Call()); } @@ -107,7 +107,7 @@ WASM_EXEC_TEST(MemoryGrow) { r.builder().SetMaxMemPages(13); r.builder().AddMemory(kWasmPageSize); - BUILD(r, WASM_MEMORY_GROW(WASM_LOCAL_GET(0))); + r.Build({WASM_MEMORY_GROW(WASM_LOCAL_GET(0))}); CHECK_EQ(1, r.Call(6)); CHECK_EQ(7, r.Call(1)); CHECK_EQ(-1, r.Call(-1)); |