summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-08-14 06:09:32 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-08-14 06:09:32 +0000
commit8c14ba96ca24f881aeae80bc9fe368f453f48bdb (patch)
tree711f075557505342ced42855b70c90664df245d6 /llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
parent2cc4b9dd2c3458012dcd5e290c4c1d29acfbc58b (diff)
downloadbcm5719-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/PhyRegAlloc.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp2
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);
}
OpenPOWER on IntegriCloud