diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-23 01:01:17 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 01:01:17 +0000 |
| commit | 7472571531663b35d253274b397659db422716af (patch) | |
| tree | e59e3f50f9e906e6cfe52a4b88a5073b1af53330 /llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp | |
| parent | beac2bef4dcc89a420d475a65f531a45b9a0235b (diff) | |
| download | bcm5719-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.cpp | 7 |
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; } |

