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 | 302008dbeae03364ffffc1bcf77d2eb28897d98a (patch) | |
| tree | 6cd09f8ff7f7b28b32c364fb6f63f44e85937880 /lib/Target/PowerPC/PPC.h | |
| parent | 6e30ad8ce7be319ef4f30bc9163e0b736537f846 (diff) | |
| download | external_llvm-302008dbeae03364ffffc1bcf77d2eb28897d98a.zip external_llvm-302008dbeae03364ffffc1bcf77d2eb28897d98a.tar.gz external_llvm-302008dbeae03364ffffc1bcf77d2eb28897d98a.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 'lib/Target/PowerPC/PPC.h')
| -rw-r--r-- | lib/Target/PowerPC/PPC.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h index b364e3f..89dc1c1 100644 --- a/lib/Target/PowerPC/PPC.h +++ b/lib/Target/PowerPC/PPC.h @@ -25,11 +25,12 @@ namespace llvm { class FunctionPass; class MachineCodeEmitter; class ObjectCodeEmitter; - class raw_ostream; + class formatted_raw_ostream; FunctionPass *createPPCBranchSelectionPass(); FunctionPass *createPPCISelDag(PPCTargetMachine &TM); -FunctionPass *createPPCAsmPrinterPass(raw_ostream &OS, PPCTargetMachine &TM, +FunctionPass *createPPCAsmPrinterPass(formatted_raw_ostream &OS, + PPCTargetMachine &TM, bool Verbose); FunctionPass *createPPCCodeEmitterPass(PPCTargetMachine &TM, MachineCodeEmitter &MCE); |
