summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-07-14 20:18:05 +0000
committerDavid Greene <greened@obbligato.org>2009-07-14 20:18:05 +0000
commita31f96cf2bb2d4868d629b17b4e8ec106a23e776 (patch)
tree90d314a81dfda17ca4c96c57774b0a789e25df90 /llvm/lib/Target/PowerPC/PPC.h
parentf6a5ab9abddb9c57c116449490114ec695f7e85f (diff)
downloadbcm5719-llvm-a31f96cf2bb2d4868d629b17b4e8ec106a23e776.tar.gz
bcm5719-llvm-a31f96cf2bb2d4868d629b17b4e8ec106a23e776.zip
Have asm printers use formatted_raw_ostream directly to avoid a
dynamic_cast<>. llvm-svn: 75670
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPC.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC.h b/llvm/lib/Target/PowerPC/PPC.h
index b364e3f809d..89dc1c131e7 100644
--- a/llvm/lib/Target/PowerPC/PPC.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud