From 81df8fa139791a4c96af6ff261c84364b918a1b2 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 28 Sep 2013 06:10:02 -0400 Subject: [PATCH] Remove the rest of it. --- gmqcc.h | 8 +------- ir.c | 4 ---- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/gmqcc.h b/gmqcc.h index 6f42d44..d8ad374 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -726,13 +726,7 @@ enum { VINSTR_BITXOR, VINSTR_BITXOR_V, VINSTR_BITXOR_VF, - VINSTR_CROSS, - - /* - * An instruction that is never emitted, useful for marking ir_instr - * to not be generated (just set the ->opcode member to it). - */ - VINSTR_NOP + VINSTR_CROSS }; /* TODO: elide */ diff --git a/ir.c b/ir.c index 55fffb3..f92d552 100644 --- a/ir.c +++ b/ir.c @@ -2799,10 +2799,6 @@ static bool gen_blocks_recursive(code_t *code, ir_function *func, ir_block *bloc { instr = block->instr[i]; - /* Ignore NOP instruction */ - if (instr->opcode == VINSTR_NOP) - continue; - if (instr->opcode == VINSTR_PHI) { irerror(block->context, "cannot generate virtual instruction (phi)"); return false; -- 2.39.2