Remove the rest of it.

This commit is contained in:
Dale Weiler 2013-09-28 06:10:02 -04:00
parent 8a294683bb
commit 81df8fa139
2 changed files with 1 additions and 11 deletions

View file

@ -726,13 +726,7 @@ enum {
VINSTR_BITXOR, VINSTR_BITXOR,
VINSTR_BITXOR_V, VINSTR_BITXOR_V,
VINSTR_BITXOR_VF, VINSTR_BITXOR_VF,
VINSTR_CROSS, 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
}; };
/* TODO: elide */ /* TODO: elide */

4
ir.c
View file

@ -2799,10 +2799,6 @@ static bool gen_blocks_recursive(code_t *code, ir_function *func, ir_block *bloc
{ {
instr = block->instr[i]; instr = block->instr[i];
/* Ignore NOP instruction */
if (instr->opcode == VINSTR_NOP)
continue;
if (instr->opcode == VINSTR_PHI) { if (instr->opcode == VINSTR_PHI) {
irerror(block->context, "cannot generate virtual instruction (phi)"); irerror(block->context, "cannot generate virtual instruction (phi)");
return false; return false;