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

Unified Diff: src/mips64/assembler-mips64-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
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();

Powered by Google App Engine
This is Rietveld 408576698