diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 05:17:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 05:17:37 +0000 |
commit | b1d782bec914a893eabc843f1a7e92c16238aa8d (patch) | |
tree | f2a43b9e7e33a57f2de982359c50afcae9e6296e /llvm/lib/CodeGen/MachineDominators.cpp | |
parent | 76d8c5725f417fdd61295870a3ed41c33724bc22 (diff) | |
download | bcm5719-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.cpp | 5 |
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); +} |