shithub: sl

ref: dc4a648a71627db05ba1c24557c0ab7f80d348ed
dir: /src/opcodes.h/

View raw version
typedef enum {
	OP_LOADA0,
	OP_LOADA1,
	OP_LOADV,
	OP_BRN,
	OP_POP,
	OP_CALL,
	OP_TCALL,
	OP_LOADG,
	OP_LOADA,
	OP_LOADC,
	OP_RET,
	OP_DUP,
	OP_CAR,
	OP_CDR,
	OP_CLOSURE,
	OP_SETA,
	OP_JMP,
	OP_LOADC0,
	OP_CONSP,
	OP_BRNE,
	OP_LOADT,
	OP_LOAD0,
	OP_LOADC1,
	OP_AREF2,
	OP_ATOMP,
	OP_LOADVOID,
	OP_BRNN,
	OP_LOAD1,
	OP_LT,
	OP_ADD2,
	OP_SETCDR,
	OP_KEYARGS,
	OP_CONS,
	OP_EQP,
	OP_SYMP,
	OP_NOT,
	OP_CADR,
	OP_NEG,
	OP_NANP,
	OP_BRBOUND,
	OP_NUMP,
	OP_FIXNUMP,
	OP_BOUNDP,
	OP_BUILTINP,
	OP_FNP,
	OP_VECP,
	OP_SHIFT,
	OP_SETCAR,
	OP_JMPL,
	OP_BRNL,
	OP_BOX,
	OP_EQVP,
	OP_EQUALP,
	OP_LIST,
	OP_APPLY,
	OP_ADD,
	OP_SUB,
	OP_MUL,
	OP_DIV,
	OP_DIV0,
	OP_NUMEQP,
	OP_COMPARE,
	OP_ARGC,
	OP_VEC,
	OP_ASET,
	OP_LOADNIL,
	OP_LOADI8,
	OP_LOADVL,
	OP_LOADGL,
	OP_LOADAL,
	OP_LOADCL,
	OP_SETG,
	OP_SETGL,
	OP_SETAL,
	OP_VARGC,
	OP_TRYCATCH,
	OP_FOR,
	OP_TAPPLY,
	OP_SUB2,
	OP_ARGCL,
	OP_VARGCL,
	OP_CALLL,
	OP_TCALLL,
	OP_BRNEL,
	OP_BRNNL,
	OP_AREF,
	OP_BOXL,
	OP_OPTARGS,
	OP_DUMMY_EOF,
	N_OPCODES
}sl_op;

extern const Builtin builtins[N_OPCODES];