diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-14 06:09:32 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-14 06:09:32 +0000 |
| commit | 8c14ba96ca24f881aeae80bc9fe368f453f48bdb (patch) | |
| tree | 711f075557505342ced42855b70c90664df245d6 /llvm/lib/CodeGen/RegAlloc | |
| parent | 2cc4b9dd2c3458012dcd5e290c4c1d29acfbc58b (diff) | |
| download | bcm5719-llvm-8c14ba96ca24f881aeae80bc9fe368f453f48bdb.tar.gz bcm5719-llvm-8c14ba96ca24f881aeae80bc9fe368f453f48bdb.zip | |
Factory methods for function passes now return type FunctionPass *.
llvm-svn: 7839
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc')
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index fa81e9e33f6..6d40e1d0824 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -74,7 +74,7 @@ namespace { }; } -Pass *getRegisterAllocator(TargetMachine &T) { +FunctionPass *getRegisterAllocator(TargetMachine &T) { return new RegisterAllocator(T); } |

