summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-08-13 18:18:15 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-08-13 18:18:15 +0000
commit89207943a1737ea050b5f34c9738589963a1977e (patch)
treecc1e1b558c32dc038f7c091195cb67a14fbfaaac /llvm/lib/CodeGen/RegAllocLocal.cpp
parentaa5866463973dee3bc32dd37b3796763607460d4 (diff)
downloadbcm5719-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.cpp2
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();
}
OpenPOWER on IntegriCloud