eliminate the std::ostream form of WriteAsOperand and update clients.
[oota-llvm.git] / lib / CodeGen / MachineDominators.cpp
index 37c86019d4a22182a629d34c7144b748dbe64361..78de02abc1b42c15386f79bb34c23393427c7a47 100644 (file)
@@ -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);
+}