diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-21 00:14:44 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-21 00:14:44 +0000 |
commit | 9371964f47abf0a0397a26e86c3c95f46c4f1fba (patch) | |
tree | bd7af9bf77ff2ede44084c4ac4f6fb39c14dc32c /llvm/lib/Target/MSIL/MSILWriter.h | |
parent | 873f65afe8f8e959ece92ca216d80ddbdd04c94a (diff) | |
download | bcm5719-llvm-9371964f47abf0a0397a26e86c3c95f46c4f1fba.tar.gz bcm5719-llvm-9371964f47abf0a0397a26e86c3c95f46c4f1fba.zip |
Use raw_ostream throughout the AsmPrinter.
llvm-svn: 55092
Diffstat (limited to 'llvm/lib/Target/MSIL/MSILWriter.h')
-rw-r--r-- | llvm/lib/Target/MSIL/MSILWriter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/MSIL/MSILWriter.h b/llvm/lib/Target/MSIL/MSILWriter.h index 3ab6cd5ea51..b141e23d64c 100644 --- a/llvm/lib/Target/MSIL/MSILWriter.h +++ b/llvm/lib/Target/MSIL/MSILWriter.h @@ -22,6 +22,7 @@ #include "llvm/Analysis/FindUsedTypes.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Support/GetElementPtrTypeIterator.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetData.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetMachineRegistry.h" @@ -75,7 +76,7 @@ namespace { } public: - std::ostream &Out; + raw_ostream &Out; Module* ModulePtr; const TargetData* TD; Mangler* Mang; @@ -85,7 +86,7 @@ namespace { StaticInitList; const std::set<const Type *>* UsedTypes; static char ID; - MSILWriter(std::ostream &o) : FunctionPass((intptr_t)&ID), Out(o) { + MSILWriter(raw_ostream &o) : FunctionPass((intptr_t)&ID), Out(o) { UniqID = 0; } |