summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDominators.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 05:17:37 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 05:17:37 +0000
commitb1d782bec914a893eabc843f1a7e92c16238aa8d (patch)
treef2a43b9e7e33a57f2de982359c50afcae9e6296e /llvm/lib/CodeGen/MachineDominators.cpp
parent76d8c5725f417fdd61295870a3ed41c33724bc22 (diff)
downloadbcm5719-llvm-b1d782bec914a893eabc843f1a7e92c16238aa8d.tar.gz
bcm5719-llvm-b1d782bec914a893eabc843f1a7e92c16238aa8d.zip
eliminate the std::ostream form of WriteAsOperand and update clients.
This also updates dominator related stuff. llvm-svn: 79825
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineDominators.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineDominators.cpp b/llvm/lib/CodeGen/MachineDominators.cpp
index 37c86019d4a..78de02abc1b 100644
--- a/llvm/lib/CodeGen/MachineDominators.cpp
+++ b/llvm/lib/CodeGen/MachineDominators.cpp
@@ -51,3 +51,8 @@ MachineDominatorTree::~MachineDominatorTree() {
void MachineDominatorTree::releaseMemory() {
DT->releaseMemory();
}
+
+void MachineDominatorTree::print(std::ostream &OS, const Module*) const {
+ raw_os_ostream OSS(OS);
+ DT->print(OSS);
+}
OpenPOWER on IntegriCloud