summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86.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/X86/X86.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/X86/X86.h')
-rw-r--r--llvm/lib/Target/X86/X86.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86.h b/llvm/lib/Target/X86/X86.h
index 9b1fcedb963..ead4ce1f3f8 100644
--- a/llvm/lib/Target/X86/X86.h
+++ b/llvm/lib/Target/X86/X86.h
@@ -23,7 +23,7 @@ class X86TargetMachine;
class FunctionPass;
class MachineCodeEmitter;
class JITCodeEmitter;
-class raw_ostream;
+class formatted_raw_ostream;
/// createX86ISelDag - This pass converts a legalized DAG into a
/// X86-specific DAG, ready for instruction scheduling.
@@ -46,7 +46,8 @@ FunctionPass *createX87FPRegKillInserterPass();
/// assembly code for a MachineFunction to the given output stream,
/// using the given target machine description.
///
-FunctionPass *createX86CodePrinterPass(raw_ostream &o, X86TargetMachine &tm,
+FunctionPass *createX86CodePrinterPass(formatted_raw_ostream &o,
+ X86TargetMachine &tm,
bool Verbose);
/// createX86CodeEmitterPass - Return a pass that emits the collected X86 code
OpenPOWER on IntegriCloud