[llvm-commits] CVS: llvm/lib/Target/MRegisterInfo.cpp

Reid Spencer reid at x10sys.com
Sun Feb 18 19:20:41 PST 2007



Changes in directory llvm/lib/Target:

MRegisterInfo.cpp updated: 1.20 -> 1.21
---
Log message:

For PR1207: http://llvm.org/PR1207 :
Revert patches that caused the problem. Evan, please investigate and reapply
when you've discovered the problem.


---
Diffs of the changes:  (+1 -1)

 MRegisterInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/MRegisterInfo.cpp
diff -u llvm/lib/Target/MRegisterInfo.cpp:1.20 llvm/lib/Target/MRegisterInfo.cpp:1.21
--- llvm/lib/Target/MRegisterInfo.cpp:1.20	Sat Feb 17 05:06:00 2007
+++ llvm/lib/Target/MRegisterInfo.cpp	Sun Feb 18 21:20:00 2007
@@ -41,7 +41,7 @@
     const TargetRegisterClass *RC = *I;
     for (TargetRegisterClass::iterator I = RC->allocation_order_begin(MF),
            E = RC->allocation_order_end(MF); I != E; ++I)
-      Allocatable.set(*I);
+      Allocatable[*I] = true;
   }
   return Allocatable;
 }






More information about the llvm-commits mailing list