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 | a31f96cf2bb2d4868d629b17b4e8ec106a23e776 (patch) | |
tree | 90d314a81dfda17ca4c96c57774b0a789e25df90 /llvm/lib/Target/PowerPC/PPCTargetMachine.h | |
parent | f6a5ab9abddb9c57c116449490114ec695f7e85f (diff) | |
download | bcm5719-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/PPCTargetMachine.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.h b/llvm/lib/Target/PowerPC/PPCTargetMachine.h index 9f5ff573a4a..e6f61029f3b 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.h +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.h @@ -44,7 +44,7 @@ protected: // To avoid having target depend on the asmprinter stuff libraries, asmprinter // set this functions to ctor pointer at startup time if they are linked in. - typedef FunctionPass *(*AsmPrinterCtorFn)(raw_ostream &o, + typedef FunctionPass *(*AsmPrinterCtorFn)(formatted_raw_ostream &o, PPCTargetMachine &tm, bool verbose); static AsmPrinterCtorFn AsmPrinterCtor; @@ -80,7 +80,7 @@ public: virtual bool addPreEmitPass(PassManagerBase &PM, CodeGenOpt::Level OptLevel); virtual bool addAssemblyEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel, - bool Verbose, raw_ostream &Out); + bool Verbose, formatted_raw_ostream &Out); virtual bool addCodeEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel, bool DumpAsm, MachineCodeEmitter &MCE); virtual bool addCodeEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel, |