Generate a portable vmdef.lua.

This commit is contained in:
Mike Pall
2011-09-20 21:15:05 +02:00
parent 5fedf72ca6
commit c5e75e7893
4 changed files with 111 additions and 105 deletions

View File

@@ -47,8 +47,8 @@ IRDEF(IRMODE)
/* C call info for CALL* instructions. */
LJ_DATADEF const CCallInfo lj_ir_callinfo[] = {
#define IRCALLCI(name, nargs, kind, type, flags) \
{ (ASMFunction)name, \
#define IRCALLCI(cond, name, nargs, kind, type, flags) \
{ (ASMFunction)IRCALLCOND_##cond(name), \
(nargs)|(CCI_CALL_##kind)|(IRT_##type<<CCI_OTSHIFT)|(flags) },
IRCALLDEF(IRCALLCI)
#undef IRCALLCI