From bd4a8ed139de49b4609f5fbb47e1f61411862146 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 7 Nov 2003 17:43:43 +0000 Subject: [PATCH] PreSelection and PeepholeOpts are now FunctionPasses. llvm-svn: 9774 --- llvm/lib/Target/Sparc/SparcInternals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h index c27b9d01ac0f..4d0a48e4d5d8 100644 --- a/llvm/lib/Target/Sparc/SparcInternals.h +++ b/llvm/lib/Target/Sparc/SparcInternals.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); //--------------------------------------------------------------------------- -- GitLab