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 | 89207943a1737ea050b5f34c9738589963a1977e (patch) | |
| tree | cc1e1b558c32dc038f7c091195cb67a14fbfaaac /llvm/lib/CodeGen/RegAllocLocal.cpp | |
| parent | aa5866463973dee3bc32dd37b3796763607460d4 (diff) | |
| download | bcm5719-llvm-89207943a1737ea050b5f34c9738589963a1977e.tar.gz bcm5719-llvm-89207943a1737ea050b5f34c9738589963a1977e.zip | |
Factory methods for FunctionPasses now return type FunctionPass *.
llvm-svn: 7823
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocLocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp index 1b84b30f57f..26269e1808c 100644 --- a/llvm/lib/CodeGen/RegAllocLocal.cpp +++ b/llvm/lib/CodeGen/RegAllocLocal.cpp @@ -643,6 +643,6 @@ bool RA::runOnMachineFunction(MachineFunction &Fn) { return true; } -Pass *createLocalRegisterAllocator() { +FunctionPass *createLocalRegisterAllocator() { return new RA(); } |

