Index: test/cctest/test-run-wasm-relocation-arm64.cc |
diff --git a/test/cctest/test-run-wasm-relocation-arm64.cc b/test/cctest/test-run-wasm-relocation-arm64.cc |
index 3b49f00afc348e963e4f2a03298c58b14be30583..fb27628a3e1bc2188c8b3d3fe36753fde2048819 100644 |
--- a/test/cctest/test-run-wasm-relocation-arm64.cc |
+++ b/test/cctest/test-run-wasm-relocation-arm64.cc |
@@ -84,7 +84,7 @@ TEST(WasmRelocationArm64MemorySizeReference) { |
HandleScope scope(isolate); |
v8::internal::byte buffer[4096]; |
DummyStaticFunction(NULL); |
- Immediate size = Immediate(512, RelocInfo::WASM_MEMORY_SIZE_REFERENCE); |
+ Immediate size = Immediate(512, RelocInfo::WASM_MEMORY_DWORD_SIZE_REFERENCE); |
Label fail; |
MacroAssembler masm(isolate, buffer, sizeof buffer, |
@@ -115,7 +115,7 @@ TEST(WasmRelocationArm64MemorySizeReference) { |
#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)) { |