| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 752a24c3bc894a7ad0a4872b09a61e4b14d400e9..1a1d9c8b26c87d43ad5d34e85cff79d9f868f1ac 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -6963,6 +6963,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.
|
| + __ li(a2, Operand(ExternalReference::isolate_address(masm->isolate())));
|
| +
|
| ApiFunction dispatcher(FUNCTION_ADDR(EntryHookTrampoline));
|
| __ li(at, Operand(ExternalReference(&dispatcher,
|
| ExternalReference::BUILTIN_CALL,
|
|
|