Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(977)

Unified Diff: src/mips/assembler-mips-inl.h

Issue 1775443002: MIPS: Assembler changes for enabling GrowHeap in Wasm. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removing initial CL Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/mips64/assembler-mips64-inl.h » ('j') | src/mips64/assembler-mips64-inl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/mips64/assembler-mips64-inl.h » ('j') | src/mips64/assembler-mips64-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698