forked from OSchip/llvm-project
Include <iosfwd> and <string> instead of <iostream>.
Take away the default iostream argument of createMachineFunctionPrinterPass(), at Chris's request. llvm-svn: 11121
This commit is contained in:
parent
94b5c3cb91
commit
9ce98a7e9f
|
@ -15,7 +15,8 @@
|
||||||
#ifndef LLVM_CODEGEN_PASSES_H
|
#ifndef LLVM_CODEGEN_PASSES_H
|
||||||
#define LLVM_CODEGEN_PASSES_H
|
#define LLVM_CODEGEN_PASSES_H
|
||||||
|
|
||||||
#include <iostream>
|
#include <iosfwd>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -25,7 +26,7 @@ namespace llvm {
|
||||||
|
|
||||||
/// MachineFunctionPrinter pass - This pass prints out the machine function to
|
/// MachineFunctionPrinter pass - This pass prints out the machine function to
|
||||||
/// standard error, as a debugging tool.
|
/// standard error, as a debugging tool.
|
||||||
FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS = &std::cerr,
|
FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS,
|
||||||
const std::string &Banner ="");
|
const std::string &Banner ="");
|
||||||
|
|
||||||
/// PHIElimination pass - This pass eliminates machine instruction PHI nodes
|
/// PHIElimination pass - This pass eliminates machine instruction PHI nodes
|
||||||
|
|
Loading…
Reference in New Issue