diff options
author | Vladimir Marko <vmarko@google.com> | 2015-04-28 13:31:38 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-28 13:31:39 +0000 |
commit | d4667dea87e68ee3ee64581af138f59300a5c510 (patch) | |
tree | eee797e54cb5e67bf74598f2680a8f9b644820fb /runtime/arch | |
parent | 95935f28a7206c32592f6744cfc4c63e4d87ecdf (diff) | |
parent | e85e123a2dff7d4b20266183a0583f9364a8b824 (diff) | |
download | art-d4667dea87e68ee3ee64581af138f59300a5c510.zip art-d4667dea87e68ee3ee64581af138f59300a5c510.tar.gz art-d4667dea87e68ee3ee64581af138f59300a5c510.tar.bz2 |
Merge "ART: Add FOUR_ARG_DOWNCALL macro for MIPS64 entry points."
Diffstat (limited to 'runtime/arch')
-rw-r--r-- | runtime/arch/mips64/quick_entrypoints_mips64.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/arch/mips64/quick_entrypoints_mips64.S b/runtime/arch/mips64/quick_entrypoints_mips64.S index f867aa8..d781e76 100644 --- a/runtime/arch/mips64/quick_entrypoints_mips64.S +++ b/runtime/arch/mips64/quick_entrypoints_mips64.S @@ -1265,6 +1265,16 @@ ENTRY \name END \name .endm +.macro FOUR_ARG_DOWNCALL name, entrypoint, return + .extern \entrypoint +ENTRY \name + SETUP_REFS_ONLY_CALLEE_SAVE_FRAME # save callee saves in case of GC + jal \entrypoint + move $a4, rSELF # pass Thread::Current + \return +END \name +.endm + // Generate the allocation entrypoints for each allocator. GENERATE_ALL_ALLOC_ENTRYPOINTS |