notice the instruction: 0x41, 0x00, 0x00, 0x00 (0x41 is LOADKX)
the next instruction is: 0x05, 0x00, 0x00, 0x00 (0x5 is LOADK)
but according to comments in Bytecode.h, there should be an auxiliary parameter right after LOADKX, what am I missing here? is this a bug?
By compiling the following code with optimization level 0:
you will get the bytecode:
notice the instruction:
0x41, 0x00, 0x00, 0x00
(0x41 isLOADKX
) the next instruction is:0x05, 0x00, 0x00, 0x00
(0x5 isLOADK
) but according to comments inBytecode.h
, there should be an auxiliary parameter right afterLOADKX
, what am I missing here? is this a bug?