Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 7a7fc6c87bcae85226d288b86a25060ab907ac49..8f8ed7b93f5d0444d42ce3e3646ea40c78e5f4a1 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -135,13 +135,18 @@ uint32_t RelocInfo::wasm_memory_size_reference() { |
return Memory::uint32_at(pc_); |
} |
+uint32_t RelocInfo::wasm_function_table_size_reference() { |
+ DCHECK(IsWasmFunctionTableSizeReference(rmode_)); |
+ return Memory::uint32_at(pc_); |
+} |
+ |
void RelocInfo::unchecked_update_wasm_memory_reference( |
Address address, ICacheFlushMode flush_mode) { |
Memory::Address_at(pc_) = address; |
} |
-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(pc_) = size; |
} |