Support for upvalues in functions \o/ implemented OP_GETUPVAL, and a stub for OP_SETUPVAL.

OP_RETURN: Support for return values from Lua functions \o/

Support for B==0 in OP_CALL (signifies params are to top of the stack)

Fix OP_RETURN to update this.frame

Implement OP_CALL for Lua functions (no return values yet)

Implement basic OP_CLOSURE (no support for upvalues yet)

(0) -10 -6 +6 +10 +30 +100 tip

mercurial