Mercurial > hg > Members > anatofuz > MoarVM
changeset 58:8d11db1824de
synchronize cur_op's
author | anatofuz |
---|---|
date | Fri, 18 Jan 2019 18:03:13 +0900 |
parents | 6fa6682eef3b |
children | 1e338d10287a |
files | src/core/cbc-interp.cbc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/cbc-interp.cbc Fri Jan 18 16:30:51 2019 +0900 +++ b/src/core/cbc-interp.cbc Fri Jan 18 18:03:13 2019 +0900 @@ -65,6 +65,10 @@ // #define ddd(x) 0 __code cbc_next(INTER i){ + i.tc->interp_cur_op = &i.cur_op; + i.tc->interp_bytecode_start = &i.bytecode_start; + i.tc->interp_reg_base = &i.reg_base; + i.tc->interp_cu = &i.cu; __code (*c)(INTER); ddd(0); c = CODES[NEXT_OP(i)];