implemented default arguments
This commit is contained in:
@@ -102,6 +102,7 @@ static const InstrInfo instr_table[] = {
|
||||
[OPCODE_PUSHMAP] = {"PUSHMAP", 1, (OperandType[]) {OPTP_INT}},
|
||||
[OPCODE_PUSHTYP] = {"PUSHTYP", 0, NULL},
|
||||
[OPCODE_PUSHTYPTYP] = {"PUSHTYPTYP", 0, NULL},
|
||||
[OPCODE_PUSHNNETYP] = {"PUSHNNETYP", 0, NULL},
|
||||
[OPCODE_RETURN] = {"RETURN", 1, (OperandType[]) {OPTP_INT}},
|
||||
[OPCODE_ERROR] = {"ERROR", 1, (OperandType[]) {OPTP_STRING}},
|
||||
[OPCODE_JUMPIFNOTANDPOP] = {"JUMPIFNOTANDPOP", 1, (OperandType[]) {OPTP_IDX}},
|
||||
|
||||
@@ -87,6 +87,7 @@ typedef enum {
|
||||
OPCODE_PUSHMAP,
|
||||
OPCODE_PUSHTYP,
|
||||
OPCODE_PUSHTYPTYP,
|
||||
OPCODE_PUSHNNETYP,
|
||||
OPCODE_RETURN,
|
||||
OPCODE_ERROR,
|
||||
OPCODE_JUMPIFANDPOP,
|
||||
|
||||
Reference in New Issue
Block a user