mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-12 16:25:18 +00:00
Removed more <iostream> includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -31,9 +31,7 @@
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Config/config.h"
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
static AnnotationID MF_AID(
|
||||
@@ -177,7 +175,7 @@ void MachineFunction::RenumberBlocks(MachineBasicBlock *MBB) {
|
||||
}
|
||||
|
||||
|
||||
void MachineFunction::dump() const { print(std::cerr); }
|
||||
void MachineFunction::dump() const { print(*cerr.stream()); }
|
||||
|
||||
void MachineFunction::print(std::ostream &OS) const {
|
||||
OS << "# Machine code for " << Fn->getName () << "():\n";
|
||||
@@ -268,8 +266,8 @@ void MachineFunction::viewCFG() const
|
||||
#ifndef NDEBUG
|
||||
ViewGraph(this, "mf" + getFunction()->getName());
|
||||
#else
|
||||
std::cerr << "SelectionDAG::viewGraph is only available in debug builds on "
|
||||
<< "systems with Graphviz or gv!\n";
|
||||
cerr << "SelectionDAG::viewGraph is only available in debug builds on "
|
||||
<< "systems with Graphviz or gv!\n";
|
||||
#endif // NDEBUG
|
||||
}
|
||||
|
||||
@@ -350,7 +348,7 @@ void MachineFrameInfo::print(const MachineFunction &MF, std::ostream &OS) const{
|
||||
}
|
||||
|
||||
void MachineFrameInfo::dump(const MachineFunction &MF) const {
|
||||
print(MF, std::cerr);
|
||||
print(MF, *cerr.stream());
|
||||
}
|
||||
|
||||
|
||||
@@ -390,7 +388,7 @@ unsigned MachineJumpTableInfo::getAlignment() const {
|
||||
return TD->getPointerAlignment();
|
||||
}
|
||||
|
||||
void MachineJumpTableInfo::dump() const { print(std::cerr); }
|
||||
void MachineJumpTableInfo::dump() const { print(*cerr.stream()); }
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
@@ -473,4 +471,4 @@ void MachineConstantPool::print(std::ostream &OS) const {
|
||||
}
|
||||
}
|
||||
|
||||
void MachineConstantPool::dump() const { print(std::cerr); }
|
||||
void MachineConstantPool::dump() const { print(*cerr.stream()); }
|
||||
|
Reference in New Issue
Block a user