summaryrefslogtreecommitdiff
path: root/src/lj_ir.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-12-17 17:20:04 +0100
committerMike Pall <mike>2010-12-17 17:20:04 +0100
commit255c6e8c874f4ecc8ff26e67387e1381acb12da8 (patch)
tree11724fa89effae852d2c1838a793aa51d62cdcbd /src/lj_ir.h
parentc98132e182b25e8734fff0f4152ba747a2da461a (diff)
downloadluajit2-255c6e8c874f4ecc8ff26e67387e1381acb12da8.tar.gz
FFI: Drop IR_CNEWI. Add IR_CNEWP only for pointers/refs.
Diffstat (limited to 'src/lj_ir.h')
-rw-r--r--src/lj_ir.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lj_ir.h b/src/lj_ir.h
index 6495a780..33edf76c 100644
--- a/src/lj_ir.h
+++ b/src/lj_ir.h
@@ -111,7 +111,7 @@
_(TNEW, AW, lit, lit) \
_(TDUP, AW, ref, ___) \
_(CNEW, AW, ref, ref) \
- _(CNEWI, NW, ref, ref) /* CSE is ok, not marked as A. */ \
+ _(CNEWP, NW, ref, ref) /* CSE is ok, not marked as A. */ \
\
/* Write barriers. */ \
_(TBAR, S , ref, ___) \
@@ -188,9 +188,7 @@ IRFPMDEF(FPMENUM)
_(UDATA_UDTYPE, offsetof(GCudata, udtype)) \
_(UDATA_FILE, sizeof(GCudata)) \
_(CDATA_TYPEID, offsetof(GCcdata, typeid)) \
- _(CDATA_INIT1, sizeof(GCcdata)) \
- _(CDATA_INIT2_4, sizeof(GCcdata)+4) \
- _(CDATA_INIT2_8, sizeof(GCcdata)+8)
+ _(CDATA_PTR, sizeof(GCcdata))
typedef enum {
#define FLENUM(name, ofs) IRFL_##name,