mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-08 14:22:53 +00:00
Change Pass::print to take a raw ostream instead of std::ostream,
update all code that this affects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79830 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -48,9 +48,8 @@ bool DominatorTree::runOnFunction(Function &F) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void DominatorTree::print(std::ostream &OS, const Module *) const {
|
||||
raw_os_ostream OSS(OS);
|
||||
DT->print(OSS);
|
||||
void DominatorTree::print(raw_ostream &OS, const Module *) const {
|
||||
DT->print(OS);
|
||||
}
|
||||
|
||||
|
||||
@@ -264,8 +263,7 @@ DominanceFrontier::calculate(const DominatorTree &DT,
|
||||
return *Result;
|
||||
}
|
||||
|
||||
void DominanceFrontierBase::print(std::ostream &O, const Module* ) const {
|
||||
raw_os_ostream OS(O);
|
||||
void DominanceFrontierBase::print(raw_ostream &OS, const Module* ) const {
|
||||
for (const_iterator I = begin(), E = end(); I != E; ++I) {
|
||||
OS << " DomFrontier for BB";
|
||||
if (I->first)
|
||||
|
||||
Reference in New Issue
Block a user