summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-16 07:17:43 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-16 07:17:43 +0000
commit14f3fe81c6feab49d9af0a98229418e354871b17 (patch)
treeb196137f091e39ce55f21769922dc9c0cc83ba6f /llvm/lib/CodeGen/MachineFunction.cpp
parente42732e75f9a03701939c0124204b89d3289262c (diff)
downloadbcm5719-llvm-14f3fe81c6feab49d9af0a98229418e354871b17.tar.gz
bcm5719-llvm-14f3fe81c6feab49d9af0a98229418e354871b17.zip
Add LeakDetection to MachineInstr.
Move out of line member functions of MachineBasicBlock to MachineBasicBlock.cpp. llvm-svn: 11497
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp11
1 files changed, 0 insertions, 11 deletions
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
OpenPOWER on IntegriCloud