Wrong work with OP_SETLIST additional OP code. #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
4d4a040a6b/src/core/org/luaj/vm2/Print.java (L285)Here pc incremented but it is local var. So this mistake. pc must be returned from function or something like that for deal with additional op code after OP_SETLIST. See
70cb74b4d6/src/core/org/luaj/vm2/compiler/FuncState.java (L1128)70cb74b4d6/src/core/org/luaj/vm2/compiler/FuncState.java (L1129)Also this special case not handled in DebugLib. If table real big, then will case add OP code for store
cout of range of possible OP codes.