From ffa585754d6f1cc8eae38ae213b1b1dc6a74d7d3 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Mon, 15 Feb 2016 01:41:55 -0800 Subject: remove some hard reg ifdefs --- gcc/global.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gcc/global.c') diff --git a/gcc/global.c b/gcc/global.c index 715ee2c..590935a 100755 --- a/gcc/global.c +++ b/gcc/global.c @@ -990,11 +990,7 @@ find_reg (allocno, losers, alt_regs_p, accept_call_clobbered, retrying) for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) { -#ifdef REG_ALLOC_ORDER - int regno = reg_alloc_order[i]; -#else int regno = i; -#endif if (! TEST_HARD_REG_BIT (used, regno) && HARD_REGNO_MODE_OK (regno, mode) && (allocno_calls_crossed[allocno] == 0 @@ -1012,9 +1008,7 @@ find_reg (allocno, losers, alt_regs_p, accept_call_clobbered, retrying) best_reg = regno; break; } -#ifndef REG_ALLOC_ORDER i = j; /* Skip starting points we know will lose */ -#endif } } } @@ -1145,11 +1139,7 @@ find_reg (allocno, losers, alt_regs_p, accept_call_clobbered, retrying) /* Count from the end, to find the least-used ones first. */ for (i = FIRST_PSEUDO_REGISTER - 1; i >= 0; i--) { -#ifdef REG_ALLOC_ORDER - int regno = reg_alloc_order[i]; -#else int regno = i; -#endif if (local_reg_n_refs[regno] != 0 /* Don't use a reg no good for this pseudo. */ -- cgit v1.2.3