From: Misha Brukman Date: Fri, 7 Nov 2003 17:43:43 +0000 (+0000) Subject: PreSelection and PeepholeOpts are now FunctionPasses. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7eabdc5fb840e01914520c81d190a0214bf8964b;p=oota-llvm.git PreSelection and PeepholeOpts are now FunctionPasses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9774 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h index c27b9d01ac0..4d0a48e4d5d 100644 --- a/lib/Target/SparcV9/SparcV9Internals.h +++ b/lib/Target/SparcV9/SparcV9Internals.h @@ -643,10 +643,10 @@ Pass *createStackSlotsPass(const TargetMachine &TM); // Interface to pre-selection pass that specializes LLVM code for a target // machine. -Pass *createPreSelectionPass(TargetMachine &Target); +FunctionPass *createPreSelectionPass(const TargetMachine &TM); // External interface to peephole optimization pass operating on machine code. -FunctionPass *createPeepholeOptsPass(TargetMachine &Target); +FunctionPass *createPeepholeOptsPass(const TargetMachine &TM); //---------------------------------------------------------------------------