|
From: <sv...@va...> - 2012-01-18 14:09:04
|
Author: florian
Date: 2012-01-18 14:04:23 +0000 (Wed, 18 Jan 2012)
New Revision: 2241
Log:
Revert accidental check in (part of r2240).
Modified:
trunk/priv/host_generic_reg_alloc2.c
Modified: trunk/priv/host_generic_reg_alloc2.c
===================================================================
--- trunk/priv/host_generic_reg_alloc2.c 2012-01-18 14:00:31 UTC (rev 2240)
+++ trunk/priv/host_generic_reg_alloc2.c 2012-01-18 14:04:23 UTC (rev 2241)
@@ -624,14 +624,6 @@
break;
if (k == n_available_real_regs)
continue; /* not found -- ignore. */
-
-#if 0
-available_real_regs[k] is involved in a real live range
- and since:
- rreg_state[j].rreg = available_real_regs[j];
-#endif
- rreg_state[k].has_hlrs = True;
-
flush = False;
switch (reg_usage.mode[j]) {
case HRmWrite:
@@ -729,7 +721,7 @@
any HLRs, since ones with HLRs may need to be spilled around
their HLRs. Correctness of final assignment is unaffected by
this mechanism -- it is only an optimisation. */
-#if 0
+
for (j = 0; j < rreg_lrs_used; j++) {
rreg = rreg_lrs_la[j].rreg;
vassert(!hregIsVirtual(rreg));
@@ -741,7 +733,6 @@
vassert(k < n_rregs); /* else rreg was not found in rreg_state?! */
rreg_state[k].has_hlrs = True;
}
-#endif
if (0) {
for (j = 0; j < n_rregs; j++) {
if (!rreg_state[j].has_hlrs)
|