aboutsummaryrefslogtreecommitdiff
path: root/src/lj_ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_ir.h')
-rw-r--r--src/lj_ir.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lj_ir.h b/src/lj_ir.h
index 6dee36c6..1cb3566e 100644
--- a/src/lj_ir.h
+++ b/src/lj_ir.h
@@ -251,11 +251,13 @@ typedef struct CCallInfo {
251#define CCI_CASTU64 0x0200 /* Cast u64 result to number. */ 251#define CCI_CASTU64 0x0200 /* Cast u64 result to number. */
252#define CCI_NOFPRCLOBBER 0x0400 /* Does not clobber any FPRs. */ 252#define CCI_NOFPRCLOBBER 0x0400 /* Does not clobber any FPRs. */
253#define CCI_FASTCALL 0x0800 /* Fastcall convention. */ 253#define CCI_FASTCALL 0x0800 /* Fastcall convention. */
254#define CCI_STACK64 0x1000 /* Needs 64 bits per argument. */
254 255
255/* Function definitions for CALL* instructions. */ 256/* Function definitions for CALL* instructions. */
256#if LJ_HASFFI 257#if LJ_HASFFI
257#define IRCALLDEF_FFI(_) \ 258#define IRCALLDEF_FFI(_) \
258 _(lj_carith_powi64, 3, N, U64, CCI_NOFPRCLOBBER) 259 _(lj_carith_powi64, 2, N, I64, CCI_STACK64|CCI_NOFPRCLOBBER) \
260 _(lj_carith_powu64, 2, N, U64, CCI_STACK64|CCI_NOFPRCLOBBER)
259#else 261#else
260#define IRCALLDEF_FFI(_) 262#define IRCALLDEF_FFI(_)
261#endif 263#endif