Mercurial > hg > Members > anatofuz > MoarVM
changeset 27:c91369543ff0
comment in MVM_interp_run1
author | anatofuz |
---|---|
date | Sat, 03 Nov 2018 19:45:49 +0900 |
parents | 7c854b59b164 |
children | fa930a3213fc |
files | src/core/cbc-interp.cbc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/cbc-interp.cbc Sat Nov 03 17:06:30 2018 +0900 +++ b/src/core/cbc-interp.cbc Sat Nov 03 19:45:49 2018 +0900 @@ -6446,9 +6446,11 @@ goto cbc_next(i); } +/* void MVM_interp_run1(INTERP i){ goto (CODES[(i->op = *(MVMuint16 *)(i->cur_op), i->cur_op += 2, i->op)])(i); } +*/ /* This is the interpreter run loop. We have one of these per thread. */ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContext *, void *), void *invoke_data) { @@ -6492,8 +6494,8 @@ /* The ops should be in the same order here as in the oplist file, so * the compiler can can optimise the switch properly */ //DISPATCH(NEXT_OP(i)) - //goto (CODES[(i->op = *(MVMuint16 *)(i->cur_op), i->cur_op += 2, i->op)])(i); - MVM_interp_run1(i); + goto (CODES[(i->op = *(MVMuint16 *)(i->cur_op), i->cur_op += 2, i->op)])(i); + //MVM_interp_run1(i); } }