]> Nishi Git Mirror - gwion.git/commitdiff
:art: staticcode => eoc
authorfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 3 Jul 2019 03:43:20 +0000 (05:43 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 3 Jul 2019 03:43:20 +0000 (05:43 +0200)
src/vm/vm.c

index 385996b3a6692f0e092ccd841cc5320d43a3f573..c0c68c43773f596691f6430778721e7061545200 100644 (file)
@@ -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, &&regpushimm, &&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;