Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 4ad0d706ebff29a3706a34e605ad732e9b128ed9..ecb77265620617edbc7e4f89800c4039e0297141 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -249,6 +249,11 @@ uint32_t RelocInfo::wasm_memory_size_reference() { |
return reinterpret_cast<uint32_t>(Assembler::target_address_at(pc_, host_)); |
} |
+uint32_t RelocInfo::wasm_function_index() { |
+ DCHECK(IsWasmCall(rmode_)); |
+ return reinterpret_cast<uint32_t>(Assembler::target_address_at(pc_, host_)); |
+} |
+ |
void RelocInfo::update_wasm_memory_reference( |
Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, |
ICacheFlushMode icache_flush_mode) { |