Print sBx field in bytecode dump (for debugging)

Couple of fixes for last commit

Remove rawExceptions flag, always print exception's stack trace if it has one

Support for OP_NEWTABLE, OP_GETTABLE, OP_SETTABLE

New LValueFromValue() to convert from any Javascript value (almost) to a LValue

Implement OP_SETUPVALUE \o/

Add new debug option - rawExceptions - to prevent catching exceptions thrown by the VM, use for debugging the VM.

It's required to insert the new function into the stack before processing its upvalue instructions, in case it refers to itself.

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

mercurial