Skip to content

Commit

Permalink
remove instruction assignment from dispatch loop
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieTap committed Jan 16, 2025
1 parent c106e2f commit 37c80bc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ internal fun ThreadExecutor(

try {
while (loop) {
val instruction = stack.popInstruction()
instruction(context)
stack.popInstruction()(context)
}
} catch (exception: InvocationException) {
Err(exception.error).bind()
Expand Down

0 comments on commit 37c80bc

Please sign in to comment.