Skip to content

Commit

Permalink
Merge branch 'default_initialization'
Browse files Browse the repository at this point in the history
  • Loading branch information
JothamWong committed Apr 15, 2024
2 parents 25cd85d + b568e0b commit 645d81d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vm/oogavm-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,11 +703,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');
Expand Down

0 comments on commit 645d81d

Please sign in to comment.