From 8c14ba96ca24f881aeae80bc9fe368f453f48bdb Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 14 Aug 2003 06:09:32 +0000 Subject: Factory methods for function passes now return type FunctionPass *. llvm-svn: 7839 --- llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp') 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); } -- cgit v1.2.3