The CloseUpvalues opcode can take three operands, i.e. up to three upvalues can be closed in one operation. The present implementation lazily only does one.
See TODO: interpreter/src/compiler.rs:247
Refactor the loop to add up to three upvalues per CloseUpvalues opcode.
The
CloseUpvalues
opcode can take three operands, i.e. up to three upvalues can be closed in one operation. The present implementation lazily only does one.See TODO:
interpreter/src/compiler.rs:247
Refactor the loop to add up to three upvalues per
CloseUpvalues
opcode.