summaryrefslogtreecommitdiff
path: root/src/lj_ir.c
diff options
context:
space:
mode:
authorMike Pall <mike>2012-08-27 20:27:01 +0200
committerMike Pall <mike>2012-08-27 20:27:01 +0200
commit76b18b2b465532e528af2162e79365794c8ba290 (patch)
tree3e187353b1f3392961403db64b6fb51c36d240cf /src/lj_ir.c
parent30f458fb4d8bab4096d74ed62d621110ca16e881 (diff)
downloadluajit-76b18b2b465532e528af2162e79365794c8ba290.tar.gz
luajit-76b18b2b465532e528af2162e79365794c8ba290.tar.bz2
luajit-76b18b2b465532e528af2162e79365794c8ba290.zip
Add table of IR type sizes.
Diffstat (limited to 'src/lj_ir.c')
-rw-r--r--src/lj_ir.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lj_ir.c b/src/lj_ir.c
index 92be4149..abc275d1 100644
--- a/src/lj_ir.c
+++ b/src/lj_ir.c
@@ -46,6 +46,14 @@ IRDEF(IRMODE)
46 0 46 0
47}; 47};
48 48
49/* IR type sizes. */
50LJ_DATADEF const uint8_t lj_ir_type_size[IRT__MAX+1] = {
51#define IRTSIZE(name, size) size,
52IRTDEF(IRTSIZE)
53#undef IRTSIZE
54 0
55};
56
49/* C call info for CALL* instructions. */ 57/* C call info for CALL* instructions. */
50LJ_DATADEF const CCallInfo lj_ir_callinfo[] = { 58LJ_DATADEF const CCallInfo lj_ir_callinfo[] = {
51#define IRCALLCI(cond, name, nargs, kind, type, flags) \ 59#define IRCALLCI(cond, name, nargs, kind, type, flags) \