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

Evan Cheng evan.cheng at apple.com
Sat Feb 17 03:06:31 PST 2007



Changes in directory llvm/lib/Target:

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

Added getReservedRegs().

---
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.19 llvm/lib/Target/MRegisterInfo.cpp:1.20
--- llvm/lib/Target/MRegisterInfo.cpp:1.19	Wed Feb 14 23:59:24 2007
+++ llvm/lib/Target/MRegisterInfo.cpp	Sat Feb 17 05:06: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[*I] = true;
+      Allocatable.set(*I);
   }
   return Allocatable;
 }






More information about the llvm-commits mailing list