Index: src/arm64/assembler-arm64.cc |
diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc |
index 423d81508e11e98f8a21d492ee3e37ffce6ffd83..3002d7c25098aac0bf88979c570722d47f894198 100644 |
--- a/src/arm64/assembler-arm64.cc |
+++ b/src/arm64/assembler-arm64.cc |
@@ -194,13 +194,18 @@ Address RelocInfo::wasm_global_reference() { |
return Memory::Address_at(Assembler::target_pointer_address_at(pc_)); |
} |
+uint32_t RelocInfo::wasm_function_table_size_reference() { |
+ DCHECK(IsWasmFunctionTableSizeReference(rmode_)); |
+ return Memory::uint32_at(Assembler::target_pointer_address_at(pc_)); |
+} |
+ |
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) { |
Memory::uint32_at(Assembler::target_pointer_address_at(pc_)) = size; |
} |