diff --git a/lib/Target/Sparc/SparcInternals.h b/lib/Target/Sparc/SparcInternals.h index f394fc0ac38..41a75474087 100644 --- a/lib/Target/Sparc/SparcInternals.h +++ b/lib/Target/Sparc/SparcInternals.h @@ -677,7 +677,7 @@ public: virtual bool addPassesToJITCompile(FunctionPassManager &PM); virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM, MachineCodeEmitter &MCE); - virtual bool replaceMachineCodeForFunction(void *Old, void *New); + virtual void replaceMachineCodeForFunction(void *Old, void *New); // getPrologEpilogInsertionPass - Inserts prolog/epilog code. FunctionPass* getPrologEpilogInsertionPass();