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 | bf3c4cfaad706db21ac82a4376e1899d0d7f0935 (patch) | |
tree | 0554aebd575c26ce52252d94d08c2c151dc7ffbf /lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | |
parent | 1d3fa21cdd115b48241ff031f01e6b489b077abf (diff) | |
download | external_llvm-bf3c4cfaad706db21ac82a4376e1899d0d7f0935.zip external_llvm-bf3c4cfaad706db21ac82a4376e1899d0d7f0935.tar.gz external_llvm-bf3c4cfaad706db21ac82a4376e1899d0d7f0935.tar.bz2 |
Factory methods for function passes now return type FunctionPass *.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index fa81e9e..6d40e1d 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -74,7 +74,7 @@ namespace { }; } -Pass *getRegisterAllocator(TargetMachine &T) { +FunctionPass *getRegisterAllocator(TargetMachine &T) { return new RegisterAllocator(T); } |