Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index edb70ffa0184527b5cb1fed86f3856c3abae40d8..b463c0b12c33996144e428e46aa157cb9eb2a99b 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -102,11 +102,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_) || |
@@ -156,19 +151,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); |
-} |
- |
Address Assembler::target_address_from_return_address(Address pc) { |
return pc - kCallTargetAddressOffset; |
} |