]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Temporarily disable the new tempalloc strat
authorWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 6 Dec 2012 16:41:00 +0000 (17:41 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 6 Dec 2012 16:41:00 +0000 (17:41 +0100)
ir.c

diff --git a/ir.c b/ir.c
index eb2e6b5c773e8f3a60860b05d32d0f40cf990d52..afb12829af58f8d0b0d57c4efbc5ab6246fc3897 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -2920,7 +2920,7 @@ static bool gen_global_function(ir_builder *ir, ir_value *global)
     ir_function          *irfun;
 
     size_t i;
-#if 0
+#ifndef NEW_ALLOC_STRAT
     size_t local_var_end;
 #endif
 
@@ -2948,7 +2948,7 @@ static bool gen_global_function(ir_builder *ir, ir_value *global)
 
     fun.firstlocal = vec_size(code_globals);
 
-#if 0
+#ifndef NEW_ALLOC_STRAT
     local_var_end = fun.firstlocal;
     for (i = 0; i < vec_size(irfun->locals); ++i) {
         if (!ir_builder_gen_global(ir, irfun->locals[i], true)) {