Index: src/x87/assembler-x87.cc |
diff --git a/src/x87/assembler-x87.cc b/src/x87/assembler-x87.cc |
index eb8dafa3b09230379a1e46caed75e62880d14da5..2ba4dfd33de7456724d64d413ca7e6c6405cecfd 100644 |
--- a/src/x87/assembler-x87.cc |
+++ b/src/x87/assembler-x87.cc |
@@ -116,13 +116,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; |
} |