]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.c
Another hardcoded -std=gmqcc option removed and added to the implied -std=gmqcc flags
[xonotic/gmqcc.git] / ir.c
diff --git a/ir.c b/ir.c
index 4482d1d40b7e3371c994dc9c424755437d280980..4e50d7f26b31db9c477d30de31ef90a94bfb5a2a 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -772,8 +772,10 @@ bool ir_function_finalize(ir_function *self)
         }
     }
 
-    if (!ir_function_naive_phi(self))
+    if (!ir_function_naive_phi(self)) {
+        irerror(self->context, "internal error: ir_function_naive_phi failed");
         return false;
+    }
 
     for (i = 0; i < vec_size(self->locals); ++i) {
         ir_value *v = self->locals[i];