From b568e0b942e5a7f3aa4890ae82b6f3d6bbafc20c Mon Sep 17 00:00:00 2001 From: JothamWong <45916998+JothamWong@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:38:23 +0800 Subject: [PATCH] Remove unused Goroutine Declaration --- src/vm/oogavm-compiler.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/vm/oogavm-compiler.ts b/src/vm/oogavm-compiler.ts index 9ffdd53..95e30c4 100644 --- a/src/vm/oogavm-compiler.ts +++ b/src/vm/oogavm-compiler.ts @@ -701,11 +701,6 @@ const compileComp = { instrs[wc++] = { tag: Opcodes.RESET }; } }, - GoroutineDeclaration: (comp, ce) => { - compile(comp.expression, ce); - instrs[wc++] = { tag: Opcodes.NEW_THREAD }; - instrs[wc++] = { tag: Opcodes.DONE }; - }, CallGoroutine: (comp, ce) => { if (comp.expression.callee.tag === 'MemberExpression') { log('Method call');