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 | b01acfae5bf66d82eda7c12c473e5a51831f9382 (patch) | |
tree | 471f19b4e9ab3b46394ce40fbeb7f499da52cd93 /lib/CodeGen/AsmPrinter/DwarfLabel.cpp | |
parent | 623dd141b4c09b29de2c52d55328a787205d9340 (diff) |
convert the DIE printing stuff to use raw_ostream instead of std::ostream.
Tweak #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfLabel.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfLabel.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfLabel.cpp b/lib/CodeGen/AsmPrinter/DwarfLabel.cpp index 8021b7c97b..6e9293a03b 100644 --- a/lib/CodeGen/AsmPrinter/DwarfLabel.cpp +++ b/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; } |