]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
oops, these are operations too
authorRudolf Polzer <divverent@xonotic.org>
Mon, 26 Aug 2013 09:13:25 +0000 (11:13 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 26 Aug 2013 09:13:25 +0000 (11:13 +0200)
ir.c

diff --git a/ir.c b/ir.c
index 2fb4e0c430b193db9e913c74e1be4ffee6a947d9..94f49c296c488b1164244b89fb0e2adf66eba3d5 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -612,7 +612,11 @@ static bool instr_is_operation(uint16_t op)
              (op == INSTR_ADDRESS) ||
              (op >= INSTR_NOT_F  && op <= INSTR_NOT_FNC) ||
              (op >= INSTR_AND    && op <= INSTR_BITOR) ||
-             (op >= INSTR_CALL0  && op <= INSTR_CALL8) );
+             (op >= INSTR_CALL0  && op <= INSTR_CALL8) ||
+             (op == VINSTR_BITAND_VV) ||
+             (op == VINSTR_BITAND_VF) ||
+             (op == VINSTR_BITOR_VV) ||
+             (op == VINSTR_BITOR_VF));
 }
 
 static bool ir_function_pass_peephole(ir_function *self)