Index: src/arm64/assembler-arm64-inl.h |
diff --git a/src/arm64/assembler-arm64-inl.h b/src/arm64/assembler-arm64-inl.h |
index 86f8ce123f6784cf56671011e05885fc4c9dd77e..8e467713c061facabdaa8bf65ba5184dbf3e2fef 100644 |
--- a/src/arm64/assembler-arm64-inl.h |
+++ b/src/arm64/assembler-arm64-inl.h |
@@ -41,19 +41,6 @@ void RelocInfo::set_target_address(Address target, |
} |
} |
-void RelocInfo::update_wasm_memory_reference( |
- Address old_base, Address new_base, size_t old_size, size_t new_size, |
- ICacheFlushMode icache_flush_mode) { |
- DCHECK(IsWasmMemoryReference(rmode_)); |
- DCHECK(old_base <= wasm_memory_reference() && |
- wasm_memory_reference() < old_base + old_size); |
- Address updated_reference = new_base + (wasm_memory_reference() - old_base); |
- DCHECK(new_base <= updated_reference && |
- updated_reference < new_base + new_size); |
- Assembler::set_target_address_at(isolate_, pc_, host_, updated_reference, |
- icache_flush_mode); |
-} |
- |
inline int CPURegister::code() const { |
DCHECK(IsValid()); |
return reg_code; |
@@ -705,11 +692,6 @@ Address RelocInfo::target_address() { |
return Assembler::target_address_at(pc_, host_); |
} |
-Address RelocInfo::wasm_memory_reference() { |
- DCHECK(IsWasmMemoryReference(rmode_)); |
- return Assembler::target_address_at(pc_, host_); |
-} |
- |
Address RelocInfo::target_address_address() { |
DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) |
|| rmode_ == EMBEDDED_OBJECT |