From: Misha Brukman Date: Thu, 13 Nov 2003 00:19:02 +0000 (+0000) Subject: The function to create an instance of this pass is no longer a method of X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=661a5710536211b3befb32ce5cf800493e2b1e6b;p=oota-llvm.git The function to create an instance of this pass is no longer a method of the UltraSparc class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9952 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(); }