mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-12-11 22:50:07 +00:00
OP_NEWOBJECT uses long operand
This commit is contained in:
@@ -109,7 +109,7 @@ int disasmInstr(CChunk *chunk, int offset, int indent) {
|
||||
case OP_CLOSE:
|
||||
return simpleInstruction("OP_CLOSE", offset);
|
||||
case OP_NEWOBJECT:
|
||||
return shortOperandInstruction("OP_NEWOBJECT", chunk, offset);
|
||||
return longOperandInstruction("OP_NEWOBJECT", chunk, offset);
|
||||
case OP_GETOBJECT:
|
||||
return simpleInstruction("OP_GETOBJECT", offset);
|
||||
case OP_SETOBJECT:
|
||||
|
||||
Reference in New Issue
Block a user