commit | 8c14ba96ca24f881aeae80bc9fe368f453f48bdb | [log] [tgz] |
---|---|---|
author | Brian Gaeke <gaeke@uiuc.edu> | Thu Aug 14 06:09:32 2003 +0000 |
committer | Brian Gaeke <gaeke@uiuc.edu> | Thu Aug 14 06:09:32 2003 +0000 |
tree | 711f075557505342ced42855b70c90664df245d6 | |
parent | 2cc4b9dd2c3458012dcd5e290c4c1d29acfbc58b [diff] |
Factory methods for function passes now return type FunctionPass *. llvm-svn: 7839
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index fa81e9e..6d40e1d 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -74,7 +74,7 @@ }; } -Pass *getRegisterAllocator(TargetMachine &T) { +FunctionPass *getRegisterAllocator(TargetMachine &T) { return new RegisterAllocator(T); }