]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Revert accidental check in (part of r2240).
authorFlorian Krohm <florian@eich-krohm.de>
Wed, 18 Jan 2012 14:04:23 +0000 (14:04 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Wed, 18 Jan 2012 14:04:23 +0000 (14:04 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2241

VEX/priv/host_generic_reg_alloc2.c

index e9a096a100c18d1a57f661f4464871f559b0930b..5052d9df8f0a2ee82fe10b24bdc5735732fb0ed5 100644 (file)
@@ -624,14 +624,6 @@ HInstrArray* doRegisterAllocation (
                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 @@ available_real_regs[k] is involved in a real live range
       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 @@ available_real_regs[k] is involved in a real live range
       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)