Add table of IR type sizes.

This commit is contained in:
Mike Pall
2012-08-27 20:27:01 +02:00
parent 30f458fb4d
commit 76b18b2b46
3 changed files with 21 additions and 6 deletions

View File

@@ -46,6 +46,14 @@ IRDEF(IRMODE)
0
};
/* IR type sizes. */
LJ_DATADEF const uint8_t lj_ir_type_size[IRT__MAX+1] = {
#define IRTSIZE(name, size) size,
IRTDEF(IRTSIZE)
#undef IRTSIZE
0
};
/* C call info for CALL* instructions. */
LJ_DATADEF const CCallInfo lj_ir_callinfo[] = {
#define IRCALLCI(cond, name, nargs, kind, type, flags) \