aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-04 21:41:01 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-04 21:41:01 +0000
commit74ceb298fed410b23b79f8b21fba5a97623f1ea0 (patch)
tree94893ffae01c11cce7aa5aa82ae8fcc0185c21c3 /lib/Target/X86/X86TargetMachine.cpp
parent3b9f445c132e951da89eaea14671c91897467c7a (diff)
Take away the default iostream argument of createMachineFunctionPrinterPass(),
at Chris's request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 879ad50311..466ef2f85d 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -77,18 +77,18 @@ bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
// Print the instruction selected machine code...
if (PrintCode)
- PM.add(createMachineFunctionPrinterPass());
+ PM.add(createMachineFunctionPrinterPass(&std::cerr));
// Perform register allocation to convert to a concrete x86 representation
PM.add(createRegisterAllocator());
if (PrintCode)
- PM.add(createMachineFunctionPrinterPass());
+ PM.add(createMachineFunctionPrinterPass(&std::cerr));
PM.add(createX86FloatingPointStackifierPass());
if (PrintCode)
- PM.add(createMachineFunctionPrinterPass());
+ PM.add(createMachineFunctionPrinterPass(&std::cerr));
// Insert prolog/epilog code. Eliminate abstract frame index references...
PM.add(createPrologEpilogCodeInserter());
@@ -134,18 +134,18 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
// Print the instruction selected machine code...
if (PrintCode)
- PM.add(createMachineFunctionPrinterPass());
+ PM.add(createMachineFunctionPrinterPass(&std::cerr));
// Perform register allocation to convert to a concrete x86 representation
PM.add(createRegisterAllocator());
if (PrintCode)
- PM.add(createMachineFunctionPrinterPass());
+ PM.add(createMachineFunctionPrinterPass(&std::cerr));
PM.add(createX86FloatingPointStackifierPass());
if (PrintCode)
- PM.add(createMachineFunctionPrinterPass());
+ PM.add(createMachineFunctionPrinterPass(&std::cerr));
// Insert prolog/epilog code. Eliminate abstract frame index references...
PM.add(createPrologEpilogCodeInserter());