diff options
author | YamaArashi <shadow962@live.com> | 2016-02-15 01:41:55 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-15 01:41:55 -0800 |
commit | ffa585754d6f1cc8eae38ae213b1b1dc6a74d7d3 (patch) | |
tree | dad0a2f215582c0f2909227354307a4d6435c0df /gcc/global.c | |
parent | 3c265a4653a78597724a68dd9bdbce47f5590e59 (diff) |
remove some hard reg ifdefs
Diffstat (limited to 'gcc/global.c')
-rwxr-xr-x | gcc/global.c | 10 |
1 files changed, 0 insertions, 10 deletions
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. */ |