]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.c
-Olocaltemps -> -Olocal-temps for consistency; added manpage entry; removed leftover...
[xonotic/gmqcc.git] / ir.c
diff --git a/ir.c b/ir.c
index 99fa8056edf5616a7f8446be7939254c58184635..ce98e6c252c49bf340f261862c5e597f0f2c313c 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -2127,7 +2127,7 @@ bool ir_function_allocate_locals(ir_function *self)
 
     for (i = 0; i < vec_size(self->locals); ++i)
     {
-        if (!OPTS_OPTIMIZATION(OPTIM_LOCALTEMPS))
+        if (!OPTS_OPTIMIZATION(OPTIM_LOCAL_TEMPS))
             self->locals[i]->unique_life = true;
         if (!function_allocator_alloc(&alloc, self->locals[i]))
             goto error;
@@ -2760,8 +2760,7 @@ tailcall:
 
             retvalue = instr->_ops[0];
             if (retvalue && retvalue->store != store_return &&
-                (retvalue->store == store_global || (vec_size(retvalue->life) && vec_size(retvalue->reads)))
-               )
+                (retvalue->store == store_global || vec_size(retvalue->life)))
             {
                 /* not to be kept in OFS_RETURN */
                 if (retvalue->vtype == TYPE_FIELD && OPTS_FLAG(ADJUST_VECTOR_FIELDS))