Reviewers: danno, dcarney, Paul Lind, kisg, palfia, Jakob,
Description:
MIPS: thread isolate for EntryHookTrampoline.
Port r16630 (e045054)
BUG=
Please review this at https://codereview.chromium.org/23503050/
SVN Base: https://github.com/v8/v8.git@gbl
Affected files (+3, -0 lines):
M src/mips/code-stubs-mips.cc
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,
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.