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 | cb3718832375a581c5ea23f15918f3ea447a446c (patch) | |
tree | a72c740cc8590cd63825fcf08f71c5e2f625ca55 /include/llvm/Target/TargetMachine.h | |
parent | f4a97da4072a2ee4aca3c668a9fa113c06fdef8d (diff) |
Use raw_ostream throughout the AsmPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index e86af9fd8d..93c46ae28e 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -35,6 +35,7 @@ class PassManager; class Pass; class TargetMachOWriterInfo; class TargetELFWriterInfo; +class raw_ostream; // Relocation model types. namespace Reloc { @@ -196,7 +197,7 @@ public: /// is not supported. /// virtual FileModel::Model addPassesToEmitFile(PassManagerBase &, - std::ostream &, + raw_ostream &, CodeGenFileType, bool /*Fast*/) { return FileModel::None; @@ -227,7 +228,7 @@ public: /// require having the entire module at once. This is not recommended, do not /// use this. virtual bool WantsWholeFile() const { return false; } - virtual bool addPassesToEmitWholeFile(PassManager &, std::ostream &, + virtual bool addPassesToEmitWholeFile(PassManager &, raw_ostream &, CodeGenFileType, bool /*Fast*/) { return true; } @@ -253,7 +254,7 @@ public: /// target-specific passes in standard locations. /// virtual FileModel::Model addPassesToEmitFile(PassManagerBase &PM, - std::ostream &Out, + raw_ostream &Out, CodeGenFileType FileType, bool Fast); @@ -309,7 +310,7 @@ public: /// the asmprinter, if asm emission is supported. If this is not supported, /// 'true' should be returned. virtual bool addAssemblyEmitter(PassManagerBase &, bool /*Fast*/, - std::ostream &) { + raw_ostream &) { return true; } |