Index: src/mips64/assembler-mips64-inl.h |
diff --git a/src/mips64/assembler-mips64-inl.h b/src/mips64/assembler-mips64-inl.h |
index 37ee3a680722b07b1874872e7e5461f5fe925fb5..192d8efaa86b79ce0362f4fba61b06ac19b720c9 100644 |
--- a/src/mips64/assembler-mips64-inl.h |
+++ b/src/mips64/assembler-mips64-inl.h |
@@ -128,6 +128,17 @@ Address RelocInfo::target_address_address() { |
pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize); |
} |
balazs.kilvady
2016/03/09 11:00:20
Same nit and comment like on the MIPS version.
|
+Address RelocInfo::wasm_memory_reference() { |
+ DCHECK(IsWasmMemoryReference(rmode_)); |
+ return Assembler::target_address_at(pc_, host_); |
+} |
+ |
+void RelocInfo::update_wasm_memory_reference( |
+ Address reference, ICacheFlushMode icache_flush_mode) { |
+ DCHECK(IsWasmMemoryReference(rmode_)); |
+ Assembler::set_target_address_at(isolate_, pc_, host_, reference, |
+ icache_flush_mode); |
+} |
Address RelocInfo::constant_pool_entry_address() { |
UNREACHABLE(); |