summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDominators.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 06:03:38 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 06:03:38 +0000
commit1362602eb26734114a27ebb6b28db6c4dd412dec (patch)
treec2b967c6b1d6ef24795302bc09699d2f3cc54b0d /llvm/lib/CodeGen/MachineDominators.cpp
parent817b3012bc81cd8f69625850731a71be69e9e80a (diff)
downloadbcm5719-llvm-1362602eb26734114a27ebb6b28db6c4dd412dec.tar.gz
bcm5719-llvm-1362602eb26734114a27ebb6b28db6c4dd412dec.zip
Change Pass::print to take a raw ostream instead of std::ostream,
update all code that this affects. llvm-svn: 79830
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineDominators.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineDominators.cpp b/llvm/lib/CodeGen/MachineDominators.cpp
index 78de02abc1b..0f796f3952c 100644
--- a/llvm/lib/CodeGen/MachineDominators.cpp
+++ b/llvm/lib/CodeGen/MachineDominators.cpp
@@ -52,7 +52,6 @@ void MachineDominatorTree::releaseMemory() {
DT->releaseMemory();
}
-void MachineDominatorTree::print(std::ostream &OS, const Module*) const {
- raw_os_ostream OSS(OS);
- DT->print(OSS);
+void MachineDominatorTree::print(raw_ostream &OS, const Module*) const {
+ DT->print(OS);
}
OpenPOWER on IntegriCloud