Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index 703f3ce5d671e6422bf140f46b500988fd3f807c..b95a0e47e93c1496b3554a4d7f0a88f9382da546 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -152,6 +152,17 @@ void RelocInfo::set_target_address(Address target, |
} |
} |
balazs.kilvady
2016/03/09 11:00:20
nits: Please try to follow the order of functions
|
+void RelocInfo::update_wasm_memory_reference( |
+ Address reference, ICacheFlushMode icache_flush_mode) { |
balazs.kilvady
2016/03/09 11:00:20
The original commit contains the right MIPS/MIPS64
|
+ DCHECK(IsWasmMemoryReference(rmode_)); |
+ Assembler::set_target_address_at(isolate_, pc_, host_, reference, |
+ icache_flush_mode); |
+} |
+ |
+Address RelocInfo::wasm_memory_reference() { |
+ DCHECK(IsWasmMemoryReference(rmode_)); |
+ return Assembler::target_address_at(pc_, host_); |
+} |
Address Assembler::target_address_from_return_address(Address pc) { |
return pc - kCallTargetAddressOffset; |