summaryrefslogtreecommitdiff
path: root/gcc/stupid.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-15 01:41:55 -0800
committerYamaArashi <shadow962@live.com>2016-02-15 01:41:55 -0800
commitffa585754d6f1cc8eae38ae213b1b1dc6a74d7d3 (patch)
treedad0a2f215582c0f2909227354307a4d6435c0df /gcc/stupid.c
parent3c265a4653a78597724a68dd9bdbce47f5590e59 (diff)
remove some hard reg ifdefs
Diffstat (limited to 'gcc/stupid.c')
-rwxr-xr-xgcc/stupid.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/stupid.c b/gcc/stupid.c
index 1ba8881..d912a33 100755
--- a/gcc/stupid.c
+++ b/gcc/stupid.c
@@ -542,11 +542,7 @@ stupid_find_reg (call_preserved, class, mode,
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
{
-#ifdef REG_ALLOC_ORDER
- int regno = reg_alloc_order[i];
-#else
int regno = i;
-#endif
/* If a register has screwy overlap problems,
don't use it at all if not optimizing.
@@ -574,9 +570,7 @@ stupid_find_reg (call_preserved, class, mode,
}
return regno;
}
-#ifndef REG_ALLOC_ORDER
i += j; /* Skip starting points we know will lose */
-#endif
}
}