Skip to content

Commit

Permalink
Merge r180232 - [ARM] Add the necessary setupArgumentsWithExecState a…
Browse files Browse the repository at this point in the history
…fter bug141332

https://bugs.webkit.org/show_bug.cgi?id=141714

Reviewed by Michael Saboff.

* jit/CCallHelpers.h:
(JSC::CCallHelpers::setupArgumentsWithExecState):
  • Loading branch information
ossy-szeged authored and carlosgcampos committed Feb 27, 2015
1 parent ba9cd3b commit 0abd929
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,13 @@
2015-02-17 Csaba Osztrogonác <ossy@webkit.org>

[ARM] Add the necessary setupArgumentsWithExecState after bug141332
https://bugs.webkit.org/show_bug.cgi?id=141714

Reviewed by Michael Saboff.

* jit/CCallHelpers.h:
(JSC::CCallHelpers::setupArgumentsWithExecState):

2015-02-25 Mark Lam <mark.lam@apple.com>

ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack.
Expand Down
8 changes: 8 additions & 0 deletions Source/JavaScriptCore/jit/CCallHelpers.h
Expand Up @@ -1693,6 +1693,14 @@ class CCallHelpers : public AssemblyHelpers {
setupArgumentsWithExecState(arg1, arg2, arg3);
}

ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImm32 arg1, GPRReg arg2, GPRReg arg3, TrustedImm32 arg4, GPRReg arg5, TrustedImm32 arg6)
{
poke(arg6, POKE_ARGUMENT_OFFSET + 2);
poke(arg5, POKE_ARGUMENT_OFFSET + 1);
poke(arg4, POKE_ARGUMENT_OFFSET);
setupArgumentsWithExecState(arg1, arg2, arg3);
}

ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImm32 arg1, GPRReg arg2, GPRReg arg3, GPRReg arg4, GPRReg arg5, GPRReg arg6, GPRReg arg7)
{
poke(arg7, POKE_ARGUMENT_OFFSET + 3);
Expand Down

0 comments on commit 0abd929

Please sign in to comment.