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, 2 insertions, 2 deletions
diff --git a/src/lj_ir.h b/src/lj_ir.h
index bedb4c2b..532d7a9e 100644
--- a/src/lj_ir.h
+++ b/src/lj_ir.h
@@ -129,6 +129,7 @@
129 _(CALLN, N , ref, lit) \ 129 _(CALLN, N , ref, lit) \
130 _(CALLL, L , ref, lit) \ 130 _(CALLL, L , ref, lit) \
131 _(CALLS, S , ref, lit) \ 131 _(CALLS, S , ref, lit) \
132 _(CALLXS, S , ref, ref) \
132 _(CARG, N , ref, ref) \ 133 _(CARG, N , ref, ref) \
133 \ 134 \
134 /* End of list. */ 135 /* End of list. */
@@ -236,7 +237,7 @@ typedef struct CCallInfo {
236} CCallInfo; 237} CCallInfo;
237 238
238#define CCI_NARGS(ci) ((ci)->flags & 0xff) /* Extract # of args. */ 239#define CCI_NARGS(ci) ((ci)->flags & 0xff) /* Extract # of args. */
239#define CCI_NARGS_MAX 16 /* Max. # of args. */ 240#define CCI_NARGS_MAX 32 /* Max. # of args. */
240 241
241#define CCI_OTSHIFT 16 242#define CCI_OTSHIFT 16
242#define CCI_OPTYPE(ci) ((ci)->flags >> CCI_OTSHIFT) /* Get op/type. */ 243#define CCI_OPTYPE(ci) ((ci)->flags >> CCI_OTSHIFT) /* Get op/type. */
@@ -590,7 +591,6 @@ typedef union IRIns {
590 check_exp((ir)->o == IR_KNUM || (ir)->o == IR_KINT64, mref((ir)->ptr,cTValue)) 591 check_exp((ir)->o == IR_KNUM || (ir)->o == IR_KINT64, mref((ir)->ptr,cTValue))
591#define ir_kptr(ir) \ 592#define ir_kptr(ir) \
592 check_exp((ir)->o == IR_KPTR || (ir)->o == IR_KKPTR, mref((ir)->ptr, void)) 593 check_exp((ir)->o == IR_KPTR || (ir)->o == IR_KKPTR, mref((ir)->ptr, void))
593
594LJ_STATIC_ASSERT((int)IRT_GUARD == (int)IRM_W); 594LJ_STATIC_ASSERT((int)IRT_GUARD == (int)IRM_W);
595 595
596/* A store or any other op with a non-weak guard has a side-effect. */ 596/* A store or any other op with a non-weak guard has a side-effect. */