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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lj_ir.h b/src/lj_ir.h
index 4813f250..060cf562 100644
--- a/src/lj_ir.h
+++ b/src/lj_ir.h
@@ -35,6 +35,7 @@
35 _(BASE, N , lit, lit) \ 35 _(BASE, N , lit, lit) \
36 _(HIOP, S , ref, ref) \ 36 _(HIOP, S , ref, ref) \
37 _(LOOP, S , ___, ___) \ 37 _(LOOP, S , ___, ___) \
38 _(USE, S , ref, ___) \
38 _(PHI, S , ref, ref) \ 39 _(PHI, S , ref, ref) \
39 _(RENAME, S , ref, lit) \ 40 _(RENAME, S , ref, lit) \
40 \ 41 \
@@ -78,8 +79,9 @@
78 _(FPMATH, N , ref, lit) \ 79 _(FPMATH, N , ref, lit) \
79 \ 80 \
80 /* Overflow-checking arithmetic ops. */ \ 81 /* Overflow-checking arithmetic ops. */ \
81 _(ADDOV, C , ref, ref) \ 82 _(ADDOV, CW, ref, ref) \
82 _(SUBOV, N , ref, ref) \ 83 _(SUBOV, NW, ref, ref) \
84 _(MULOV, CW, ref, ref) \
83 \ 85 \
84 /* Memory ops. A = array, H = hash, U = upvalue, F = field, S = stack. */ \ 86 /* Memory ops. A = array, H = hash, U = upvalue, F = field, S = stack. */ \
85 \ 87 \
@@ -339,6 +341,7 @@ typedef enum {
339#define IRM_W 0x80 341#define IRM_W 0x80
340 342
341#define IRM_NW (IRM_N|IRM_W) 343#define IRM_NW (IRM_N|IRM_W)
344#define IRM_CW (IRM_C|IRM_W)
342#define IRM_AW (IRM_A|IRM_W) 345#define IRM_AW (IRM_A|IRM_W)
343#define IRM_LW (IRM_L|IRM_W) 346#define IRM_LW (IRM_L|IRM_W)
344 347