diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-16 07:17:43 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-16 07:17:43 +0000 |
commit | aad5c0505183a5b7913f1a443a1f0650122551cc (patch) | |
tree | c67e8d48e44e95a8791e18f4484931c7a389bc9c /lib/CodeGen/MachineFunction.cpp | |
parent | 19831ec8531b0710629c1b0a8c0323e70ae0ef07 (diff) |
Add LeakDetection to MachineInstr.
Move out of line member functions of MachineBasicBlock to
MachineBasicBlock.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 719d28a0a8..826ccaf399 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/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 |