From: fennecdjay Date: Wed, 9 Oct 2019 23:50:15 +0000 (+0200) Subject: :art: Fix vm X-Git-Tag: nightly~2198^2~34 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5b7219ddb19f8140e8cca7c74b2825f41b4fd5bb;p=gwion.git :art: Fix vm --- diff --git a/src/vm/vm.c b/src/vm/vm.c index b4ee9301..1322f615 100644 --- a/src/vm/vm.c +++ b/src/vm/vm.c @@ -311,7 +311,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, &&pushstaticcode + &&dotfunc, &&dotstaticfunc, &&pushstaticcode, &&gcini, &&gcadd, &&gcend, &&gack, &&gack3, &®pushimm, &&other, &&eoc }; @@ -661,7 +661,7 @@ sporkexp: forkend: fork_launch(vm, a.child->info->me, VAL2); sporkend: - assert(!val); // spork are not mutable + assert(!VAL); // spork are not mutable *(M_Object*)(reg-SZ_INT) = a.child->info->me; DISPATCH() brancheqint: