view Paper/src/orig_macro.c @ 2:fdb00b58c78c

1章修正
author e165727 <e165727@ie.u-ryukyu.ac.jp>
date Fri, 08 Nov 2019 13:51:06 +0900
parents 5e53003f8f1f
children
line wrap: on
line source

#define NEXT_OP (op = *(MVMuint16 *)(cur_op), cur_op += 2, op)

#if MVM_CGOTO
#define DISPATCH(op)
#define OP(name) OP_ ## name
#define NEXT *LABELS[NEXT_OP]
#else
#define DISPATCH(op) switch (op)
#define OP(name) case MVM_OP_ ## name
#define NEXT runloop
#endif