Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index d5edb1e929085b1fc690c08aeac634e56c67806e..784185ac0d2c3a190c8613e2d35929469f706d3b 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -204,13 +204,18 @@ uint32_t RelocInfo::wasm_memory_size_reference() { |
return reinterpret_cast<uint32_t>(Assembler::target_address_at(pc_, host_)); |
} |
+uint32_t RelocInfo::wasm_function_table_size_reference() { |
+ DCHECK(IsWasmFunctionTableSizeReference(rmode_)); |
+ return reinterpret_cast<uint32_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); |
} |