summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 01:01:17 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 01:01:17 +0000
commit7472571531663b35d253274b397659db422716af (patch)
treee59e3f50f9e906e6cfe52a4b88a5073b1af53330 /llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp
parentbeac2bef4dcc89a420d475a65f531a45b9a0235b (diff)
downloadbcm5719-llvm-7472571531663b35d253274b397659db422716af.tar.gz
bcm5719-llvm-7472571531663b35d253274b397659db422716af.zip
convert the DIE printing stuff to use raw_ostream instead of std::ostream.
Tweak #includes. llvm-svn: 79800
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp
index 8021b7c97bb..6e9293a03bd 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp
@@ -13,7 +13,7 @@
#include "DwarfLabel.h"
#include "llvm/ADT/FoldingSet.h"
-#include <ostream>
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
@@ -25,10 +25,7 @@ void DWLabel::Profile(FoldingSetNodeID &ID) const {
}
#ifndef NDEBUG
-void DWLabel::print(std::ostream *O) const {
- if (O) print(*O);
-}
-void DWLabel::print(std::ostream &O) const {
+void DWLabel::print(raw_ostream &O) const {
O << "." << Tag;
if (Number) O << Number;
}
OpenPOWER on IntegriCloud