Mercurial > hg > Papers > 2019 > anatofuz-prosym
comparison Paper/src/cbc-interp-next.cbc @ 27:df723be56106
add about INTERP section
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 09 Nov 2018 01:12:22 +0900 |
parents | |
children | f01d5bc55dea |
comparison
equal
deleted
inserted
replaced
26:1141ce0a6aab | 27:df723be56106 |
---|---|
1 #define NEXT_OP(i) (i->op = *(MVMuint16 *)(i->cur_op), i->cur_op += 2, i->op) | |
2 | |
3 #define DISPATCH(op) {goto (CODES[op])(i);} | |
4 #define OP(name) OP_ ## name | |
5 #define NEXT(i) CODES[NEXT_OP(i)](i) | |
6 static int tracing_enabled = 0; | |
7 | |
8 __code cbc_next(INTERP i){ | |
9 goto NEXT(i); | |
10 } | |
11 | |
12 __code cbc_no_op(INTERP i){ | |
13 goto cbc_next(i); | |
14 } |