From 7472571531663b35d253274b397659db422716af Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 Aug 2009 01:01:17 +0000 Subject: convert the DIE printing stuff to use raw_ostream instead of std::ostream. Tweak #includes. llvm-svn: 79800 --- llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp') 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 +#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; } -- cgit v1.2.3