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/Alpha/AlphaAsmPrinter.cpp | |
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/Alpha/AlphaAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp index e592e80a760..d92317e9204 100644 --- a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp +++ b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp @@ -24,6 +24,7 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/Mangler.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/ADT/Statistic.h" using namespace llvm; @@ -35,7 +36,7 @@ namespace { /// Unique incrementer for label values for referencing Global values. /// - AlphaAsmPrinter(std::ostream &o, TargetMachine &tm, const TargetAsmInfo *T) + AlphaAsmPrinter(raw_ostream &o, TargetMachine &tm, const TargetAsmInfo *T) : AsmPrinter(o, tm, T) { } @@ -65,7 +66,7 @@ namespace { /// using the given target machine description. This should work /// regardless of whether the function is in SSA form. /// -FunctionPass *llvm::createAlphaCodePrinterPass(std::ostream &o, +FunctionPass *llvm::createAlphaCodePrinterPass(raw_ostream &o, TargetMachine &tm) { return new AlphaAsmPrinter(o, tm, tm.getTargetAsmInfo()); } |