From 5b7219ddb19f8140e8cca7c74b2825f41b4fd5bb Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 10 Oct 2019 01:50:15 +0200 Subject: [PATCH] :art: Fix vm --- src/vm/vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.43.0