| Index: test/cctest/test-run-wasm-relocation-x64.cc
|
| diff --git a/test/cctest/test-run-wasm-relocation-x64.cc b/test/cctest/test-run-wasm-relocation-x64.cc
|
| index 11fa45164e4c3ccdf79be70d285d4902ab8e8c7b..f153bedda144a541d550be5e2441e871bebf3ba6 100644
|
| --- a/test/cctest/test-run-wasm-relocation-x64.cc
|
| +++ b/test/cctest/test-run-wasm-relocation-x64.cc
|
| @@ -90,8 +90,8 @@ TEST(WasmRelocationX64WasmMemorySizeReference) {
|
| int32_t size = 512;
|
| Label fail;
|
|
|
| - __ movl(rax, Immediate(size, RelocInfo::WASM_MEMORY_SIZE_REFERENCE));
|
| - __ cmpl(rax, Immediate(size, RelocInfo::WASM_MEMORY_SIZE_REFERENCE));
|
| + __ movl(rax, Immediate(size, RelocInfo::WASM_MEMORY_DWORD_SIZE_REFERENCE));
|
| + __ cmpl(rax, Immediate(size, RelocInfo::WASM_MEMORY_DWORD_SIZE_REFERENCE));
|
| __ j(not_equal, &fail);
|
| __ ret(0);
|
| __ bind(&fail);
|
| @@ -118,7 +118,7 @@ TEST(WasmRelocationX64WasmMemorySizeReference) {
|
| #endif
|
| int32_t diff = 512;
|
|
|
| - int mode_mask = (1 << RelocInfo::WASM_MEMORY_SIZE_REFERENCE);
|
| + int mode_mask = (1 << RelocInfo::WASM_MEMORY_DWORD_SIZE_REFERENCE);
|
| for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) {
|
| RelocInfo::Mode mode = it.rinfo()->rmode();
|
| if (RelocInfo::IsWasmMemorySizeReference(mode)) {
|
|
|