diff options
author | David Greene <greened@obbligato.org> | 2009-07-14 20:18:05 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-07-14 20:18:05 +0000 |
commit | 71847813bc419f7a0667468136a07429c6d9f164 (patch) | |
tree | 6cd09f8ff7f7b28b32c364fb6f63f44e85937880 /include/llvm/CodeGen | |
parent | a266b5f22811480a65e65a08c8a5d92fe9be8a3b (diff) | |
download | external_llvm-71847813bc419f7a0667468136a07429c6d9f164.zip external_llvm-71847813bc419f7a0667468136a07429c6d9f164.tar.gz external_llvm-71847813bc419f7a0667468136a07429c6d9f164.tar.bz2 |
Have asm printers use formatted_raw_ostream directly to avoid a
dynamic_cast<>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index d7a0225..1a43f5e 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -40,7 +40,7 @@ namespace llvm { class Section; class TargetAsmInfo; class Type; - class raw_ostream; + class formatted_raw_ostream; /// AsmPrinter - This class is intended to be used as a driving class for all /// asm writers. @@ -69,7 +69,7 @@ namespace llvm { public: /// Output stream on which we're printing assembly code. /// - raw_ostream &O; + formatted_raw_ostream &O; /// Target machine description. /// @@ -118,7 +118,7 @@ namespace llvm { mutable DebugLocTuple PrevDLT; protected: - explicit AsmPrinter(raw_ostream &o, TargetMachine &TM, + explicit AsmPrinter(formatted_raw_ostream &o, TargetMachine &TM, const TargetAsmInfo *T, bool V); public: |