]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Do not generate an OFS_RETURN variable, the IR doesn't need to know it as such
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 21 Aug 2012 14:08:23 +0000 (16:08 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 21 Aug 2012 14:08:23 +0000 (16:08 +0200)
ir.c

diff --git a/ir.c b/ir.c
index 01e297ffbdebd1f0eb2641394e095129f981f555..80d53ed8152c3ffcf463bbf035af9796ad7393a5 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -172,11 +172,6 @@ ir_builder* ir_builder_new(const char *modulename)
         return NULL;
     }
 
-    /* globals which always exist */
-
-    /* for now we give it a vector size */
-    ir_builder_create_global(self, "OFS_RETURN", TYPE_VARIANT);
-
     return self;
 }