mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 08:27:26 +00:00
eliminate the "Value" printing methods that print to a std::ostream.
This required converting a bunch of stuff off DOUT and other cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -29,7 +29,7 @@ using namespace llvm;
|
||||
AbstractLatticeFunction::~AbstractLatticeFunction() {}
|
||||
|
||||
/// PrintValue - Render the specified lattice value to the specified stream.
|
||||
void AbstractLatticeFunction::PrintValue(LatticeVal V, std::ostream &OS) {
|
||||
void AbstractLatticeFunction::PrintValue(LatticeVal V, raw_ostream &OS) {
|
||||
if (V == UndefVal)
|
||||
OS << "undefined";
|
||||
else if (V == OverdefinedVal)
|
||||
@@ -312,7 +312,7 @@ void SparseSolver::Solve(Function &F) {
|
||||
}
|
||||
}
|
||||
|
||||
void SparseSolver::Print(Function &F, std::ostream &OS) const {
|
||||
void SparseSolver::Print(Function &F, raw_ostream &OS) const {
|
||||
OS << "\nFUNCTION: " << F.getNameStr() << "\n";
|
||||
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
||||
if (!BBExecutable.count(BB))
|
||||
|
Reference in New Issue
Block a user