Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index f748d64f846a8df6f288f00591c7bb16cf2e2e8d..932b9d64d35ef29cdbeed2db74cfb82afbb4b928 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -351,13 +351,18 @@ Address RelocInfo::wasm_global_reference() { |
return 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); |
} |