Index: src/mips64/assembler-mips64.cc |
diff --git a/src/mips64/assembler-mips64.cc b/src/mips64/assembler-mips64.cc |
index 8baea4f244d06b0721a3d5841f74068d4d43b049..b670058964e01959ba7fb15e2556a20a376b92c1 100644 |
--- a/src/mips64/assembler-mips64.cc |
+++ b/src/mips64/assembler-mips64.cc |
@@ -183,13 +183,19 @@ uint32_t RelocInfo::wasm_memory_size_reference() { |
reinterpret_cast<intptr_t>((Assembler::target_address_at(pc_, host_)))); |
} |
+uint32_t RelocInfo::wasm_function_table_size_reference() { |
+ DCHECK(IsWasmFunctionTableSizeReference(rmode_)); |
+ return static_cast<uint32_t>( |
+ reinterpret_cast<intptr_t>((Assembler::target_address_at(pc_, host_)))); |
+} |
+ |
void RelocInfo::unchecked_update_wasm_memory_reference( |
Address address, ICacheFlushMode flush_mode) { |
Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); |
} |
-void RelocInfo::unchecked_update_wasm_memory_size(uint32_t size, |
- ICacheFlushMode flush_mode) { |
+void RelocInfo::unchecked_update_wasm_size(uint32_t size, |
+ ICacheFlushMode flush_mode) { |
Assembler::set_target_address_at(isolate_, pc_, host_, |
reinterpret_cast<Address>(size), flush_mode); |
} |