diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:18:15 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:18:15 +0000 |
commit | 19df3876e6dce016ec4c5ab28320a246ab285001 (patch) | |
tree | 9fd5a41484bf82ad3b58265f8bb78456e84516c0 /lib/CodeGen/RegAllocLocal.cpp | |
parent | fb0ef2e82cb2e80983c097100ae168af68ee8e7b (diff) | |
download | external_llvm-19df3876e6dce016ec4c5ab28320a246ab285001.zip external_llvm-19df3876e6dce016ec4c5ab28320a246ab285001.tar.gz external_llvm-19df3876e6dce016ec4c5ab28320a246ab285001.tar.bz2 |
Factory methods for FunctionPasses now return type FunctionPass *.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocLocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 1b84b30..26269e1 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -643,6 +643,6 @@ bool RA::runOnMachineFunction(MachineFunction &Fn) { return true; } -Pass *createLocalRegisterAllocator() { +FunctionPass *createLocalRegisterAllocator() { return new RA(); } |