From 14f3fe81c6feab49d9af0a98229418e354871b17 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Mon, 16 Feb 2004 07:17:43 +0000 Subject: Add LeakDetection to MachineInstr. Move out of line member functions of MachineBasicBlock to MachineBasicBlock.cpp. llvm-svn: 11497 --- llvm/lib/CodeGen/MachineFunction.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'llvm/lib/CodeGen/MachineFunction.cpp') diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 719d28a0a85..826ccaf3996 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -120,17 +120,6 @@ void MachineFunction::print(std::ostream &OS) const { OS << "\nEnd function \"" << Fn->getName() << "\"\n\n"; } -void MachineBasicBlock::dump() const { print(std::cerr); } - -void MachineBasicBlock::print(std::ostream &OS) const { - const BasicBlock *LBB = getBasicBlock(); - OS << "\n" << LBB->getName() << " (" << (const void*)LBB << "):\n"; - for (const_iterator I = begin(); I != end(); ++I) { - OS << "\t"; - I->print(OS, MachineFunction::get(LBB->getParent()).getTarget()); - } -} - // The next two methods are used to construct and to retrieve // the MachineCodeForFunction object for the given function. // construct() -- Allocates and initializes for a given function and target -- cgit v1.2.3