Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 4b964adcba219e7ff362f28bb15aee92d7b155be..6eedd1986d3d0a5db1752f1c899eff340d1203ce 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -6836,6 +6836,9 @@ void ProfileEntryHookStub::Generate(MacroAssembler* masm) { |
#else |
// Under the simulator we need to indirect the entry hook through a |
// trampoline function at a known address. |
+ // It additionally takes an isolate as a third parameter |
+ __ mov(r2, Operand(ExternalReference::isolate_address(masm->isolate()))); |
+ |
ApiFunction dispatcher(FUNCTION_ADDR(EntryHookTrampoline)); |
__ mov(ip, Operand(ExternalReference(&dispatcher, |
ExternalReference::BUILTIN_CALL, |