]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.c
Please the whitespace gods
[xonotic/gmqcc.git] / ir.c
diff --git a/ir.c b/ir.c
index 65670c924dd52c0152d0bfa4f22a21225cdadfce..f570cbec6de06c8c3d9ceffb5531b041c979a1d3 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -1807,21 +1807,21 @@ ir_value* ir_block_create_binop(ir_block *self, lex_ctx ctx,
         default:
             /* ranges: */
             /* boolean operations result in floats */
-            
+
             /*
              * opcode >= 10 takes true branch opcode is at least 10
              * opcode <= 23 takes false branch opcode is at least 24
              */
             if (opcode >= INSTR_EQ_F && opcode <= INSTR_GT)
                 ot = TYPE_FLOAT;
-                
-            /* 
-             * At condition "opcode <= 23", the value of "opcode" must be 
+
+            /*
+             * At condition "opcode <= 23", the value of "opcode" must be
              * at least 24.
              * At condition "opcode <= 23", the value of "opcode" cannot be
              * equal to any of {1, 2, 3, 4, 5, 6, 7, 8, 9, 62, 63, 64, 65}.
              * The condition "opcode <= 23" cannot be true.
-             * 
+             *
              * Thus ot=2 (TYPE_FLOAT) can never be true
              */
 #if 0
@@ -2625,7 +2625,7 @@ bool ir_function_calculate_liferanges(ir_function *self)
             if (v->memberof) {
                 ir_value *vec = v->memberof;
                 for (s = 0; s < vec_size(vec->reads); ++s) {
-                    if (vec->reads[s]->eid == vec->life[0].end)
+                    if (vec->reads[s]->eid == v->life[0].end)
                         break;
                 }
                 if (s < vec_size(vec->reads)) {