mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -25,14 +25,13 @@ Function *Trace::getFunction() const {
|
||||
return getEntryBasicBlock()->getParent();
|
||||
}
|
||||
|
||||
|
||||
Module *Trace::getModule() const {
|
||||
return getFunction()->getParent();
|
||||
}
|
||||
|
||||
/// print - Write trace to output stream.
|
||||
///
|
||||
void Trace::print(llvm_ostream &O) const {
|
||||
void Trace::print(OStream &O) const {
|
||||
Function *F = getFunction ();
|
||||
O << "; Trace from function " << F->getName() << ", blocks:\n";
|
||||
for (const_iterator i = begin(), e = end(); i != e; ++i) {
|
||||
@ -48,5 +47,5 @@ void Trace::print(llvm_ostream &O) const {
|
||||
/// output stream.
|
||||
///
|
||||
void Trace::dump() const {
|
||||
print(llvm_cerr);
|
||||
print(cerr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user