]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
missed from the previous commit
authorAleksey Demakov <ademakov@gmail.com>
Fri, 16 Jun 2006 18:13:32 +0000 (18:13 +0000)
committerAleksey Demakov <ademakov@gmail.com>
Fri, 16 Jun 2006 18:13:32 +0000 (18:13 +0000)
jit/jit-reg-alloc.c

index 67e480c542e0370eb0f6b88bf18231419fcc9a16..b91d399e2eb528c9c05fe3cc1d349a60dead2b2c 100644 (file)
@@ -2735,7 +2735,7 @@ use_cheapest_register(jit_gencode_t gen, _jit_regs_t *regs, int index, jit_regus
                                {
                                        continue;
                                }
-#if !ALLOW_LONGS_USE_GLOBAL
+#if !ALLOW_CLOBBER_GLOBAL
                                if(other_reg >= 0 && jit_reg_is_used(gen->permanent, other_reg))
                                {
                                        continue;
@@ -2750,7 +2750,7 @@ use_cheapest_register(jit_gencode_t gen, _jit_regs_t *regs, int index, jit_regus
                                {
                                        cost = compute_spill_cost(gen, regs, reg, other_reg);
                                }
-#if ALLOW_LONGS_USE_GLOBAL
+#if ALLOW_CLOBBER_GLOBAL
                                if(other_reg >= 0 && jit_reg_is_used(gen->permanent, other_reg))
                                {
                                        cost += COST_CLOBBER_GLOBAL;