diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_ccall.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_ccall.h b/src/lj_ccall.h index 57300817..24646d90 100644 --- a/src/lj_ccall.h +++ b/src/lj_ccall.h | |||
@@ -75,6 +75,9 @@ typedef union FPRArg { | |||
75 | #define CCALL_NARG_FPR 8 | 75 | #define CCALL_NARG_FPR 8 |
76 | #define CCALL_NRET_FPR 4 | 76 | #define CCALL_NRET_FPR 4 |
77 | #define CCALL_SPS_FREE 0 | 77 | #define CCALL_SPS_FREE 0 |
78 | #if LJ_TARGET_OSX | ||
79 | #define CCALL_PACK_STACKARG 1 | ||
80 | #endif | ||
78 | 81 | ||
79 | typedef intptr_t GPRArg; | 82 | typedef intptr_t GPRArg; |
80 | typedef union FPRArg { | 83 | typedef union FPRArg { |
@@ -139,6 +142,9 @@ typedef union FPRArg { | |||
139 | #ifndef CCALL_ALIGN_STACKARG | 142 | #ifndef CCALL_ALIGN_STACKARG |
140 | #define CCALL_ALIGN_STACKARG 1 | 143 | #define CCALL_ALIGN_STACKARG 1 |
141 | #endif | 144 | #endif |
145 | #ifndef CCALL_PACK_STACKARG | ||
146 | #define CCALL_PACK_STACKARG 0 | ||
147 | #endif | ||
142 | #ifndef CCALL_ALIGN_CALLSTATE | 148 | #ifndef CCALL_ALIGN_CALLSTATE |
143 | #define CCALL_ALIGN_CALLSTATE 8 | 149 | #define CCALL_ALIGN_CALLSTATE 8 |
144 | #endif | 150 | #endif |