general cleanups. Removed lots of unused code and redundant error checks
This commit is contained in:
@@ -82,8 +82,6 @@ static const InstrInfo instr_table[] = {
|
||||
[OPCODE_GRT] = {"GRT", 0, NULL},
|
||||
[OPCODE_LEQ] = {"LEQ", 0, NULL},
|
||||
[OPCODE_GEQ] = {"GEQ", 0, NULL},
|
||||
[OPCODE_AND] = {"AND", 0, NULL},
|
||||
[OPCODE_OR] = {"OR", 0, NULL},
|
||||
[OPCODE_ASS] = {"ASS", 1, (OperandType[]) {OPTP_STRING}},
|
||||
[OPCODE_POP] = {"POP", 1, (OperandType[]) {OPTP_INT}},
|
||||
[OPCODE_CALL] = {"CALL", 2, (OperandType[]) {OPTP_INT, OPTP_INT}},
|
||||
|
||||
@@ -67,8 +67,6 @@ typedef enum {
|
||||
OPCODE_GRT,
|
||||
OPCODE_LEQ,
|
||||
OPCODE_GEQ,
|
||||
OPCODE_AND,
|
||||
OPCODE_OR,
|
||||
OPCODE_ASS,
|
||||
OPCODE_POP,
|
||||
OPCODE_CALL,
|
||||
|
||||
Reference in New Issue
Block a user