Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 73ec31fae61e699cb7045ea1b04e771320dc6143..2120a90e0ceda66820b8a9c54a82571ffac3f39a 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -81,11 +81,6 @@ Address RelocInfo::target_address() { |
return Assembler::target_address_at(pc_, host_); |
} |
-Address RelocInfo::wasm_memory_reference() { |
- DCHECK(IsWasmMemoryReference(rmode_)); |
- return Memory::Address_at(pc_); |
-} |
- |
Address RelocInfo::target_address_address() { |
DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) |
|| rmode_ == EMBEDDED_OBJECT |
@@ -119,21 +114,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); |
- Memory::Address_at(pc_) = updated_reference; |
- if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
- Assembler::FlushICache(isolate_, pc_, sizeof(int32_t)); |
- } |
-} |
- |
Object* RelocInfo::target_object() { |
DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
return Memory::Object_at(pc_); |