mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
eliminate the std::ostream form of WriteAsOperand and update clients.
This also updates dominator related stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79825 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -425,10 +425,10 @@ namespace {
|
||||
#ifndef NDEBUG
|
||||
virtual ~ValueNumbering() {}
|
||||
virtual void dump() {
|
||||
dump(*cerr.stream());
|
||||
print(errs());
|
||||
}
|
||||
|
||||
void dump(std::ostream &os) {
|
||||
void print(raw_ostream &os) {
|
||||
for (unsigned i = 1; i <= Values.size(); ++i) {
|
||||
os << i << " = ";
|
||||
WriteAsOperand(os, Values[i-1]);
|
||||
|
||||
Reference in New Issue
Block a user