[llvm-commits] CVS: llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp

Brian Gaeke gaeke at niobe.cs.uiuc.edu
Thu Aug 14 01:10:17 PDT 2003


Changes in directory llvm/lib/CodeGen/RegAlloc:

PhyRegAlloc.cpp updated: 1.104 -> 1.105

---
Log message:

Factory methods for function passes now return type FunctionPass *.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
diff -u llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp:1.104 llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp:1.105
--- llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp:1.104	Tue Aug 12 17:22:24 2003
+++ llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp	Thu Aug 14 01:09:30 2003
@@ -74,7 +74,7 @@
   };
 }
 
-Pass *getRegisterAllocator(TargetMachine &T) {
+FunctionPass *getRegisterAllocator(TargetMachine &T) {
   return new RegisterAllocator(T);
 }
 





More information about the llvm-commits mailing list