mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-19 14:50:48 +00:00
Remove the rest of it.
This commit is contained in:
parent
8a294683bb
commit
81df8fa139
2 changed files with 1 additions and 11 deletions
8
gmqcc.h
8
gmqcc.h
|
@ -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
4
ir.c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue