From: fennecdjay Date: Wed, 3 Jul 2019 03:43:20 +0000 (+0200) Subject: :art: staticcode => eoc X-Git-Tag: nightly~2381^2~14 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=3c1e483a19c2c24a7344a0b57cef7591e5d4268c;p=gwion.git :art: staticcode => eoc --- diff --git a/src/vm/vm.c b/src/vm/vm.c index 385996b3..c0c68c43 100644 --- a/src/vm/vm.c +++ b/src/vm/vm.c @@ -306,7 +306,7 @@ ANN void vm_run(const VM* vm) { // lgtm [cpp/use-of-goto] &&newobj, &&addref, &&objassign, &&assign, &&remref, &&except, &&allocmemberaddr, &&dotmember, &&dotfloat, &&dotother, &&dotaddr, &&staticint, &&staticfloat, &&staticother, - &&dotfunc, &&dotstaticfunc, &&staticcode, &&pushstr, + &&dotfunc, &&dotstaticfunc, &&eoc, &&pushstr, &&gcini, &&gcadd, &&gcend, &&gack, &®pushimm, &&other, &&eoc }; @@ -781,8 +781,6 @@ PRAGMA_PUSH() *(VM_Code*)(reg-SZ_INT) = ((Func)vector_at(a.obj->vtable, VAL))->code; PRAGMA_POP() DISPATCH() -staticcode: // TODO: remove me -exit(5); pushstr: *(M_Object*)reg = new_string2(vm->gwion->mp, shred, (m_str)VAL); reg += SZ_INT;