diff --git a/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp b/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp index a603e94b819..40facf3fd99 100644 --- a/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp +++ b/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp @@ -112,7 +112,7 @@ namespace { }; } // end anonymous namespace -Pass *UltraSparc::getBytecodeAsmPrinterPass(std::ostream &Out) { +Pass *createBytecodeAsmPrinterPass(std::ostream &Out) { return new SparcBytecodeWriter(Out); } diff --git a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp index 555b6b14fe7..323d0cfb5ab 100644 --- a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp +++ b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp @@ -176,7 +176,7 @@ void InsertPrologEpilogCode::InsertEpilogCode(MachineFunction &MF) } } -FunctionPass *UltraSparc::getPrologEpilogInsertionPass() { +FunctionPass *createPrologEpilogInsertionPass() { return new InsertPrologEpilogCode(); }