-void Trace::print (std::ostream &O) const {
- Function *F = getFunction ();
- O << "; Trace from function " << F->getName () << ", blocks:\n";
- for (const_iterator i = begin (), e = end (); i != e; ++i) {
+void Trace::print(raw_ostream &O) const {
+ Function *F = getFunction();
+ O << "; Trace from function " << F->getNameStr() << ", blocks:\n";
+ for (const_iterator i = begin(), e = end(); i != e; ++i) {