More migration to raw_ostream, the water has dried up around the iostream hole.
[oota-llvm.git] / lib / Analysis / Trace.cpp
index 8f19fda953dd7ed45ef5434c59e64a66ebfd378e..31c7a19ff6ce790ae7ca439d9652d47202b70021 100644 (file)
@@ -33,7 +33,7 @@ Module *Trace::getModule() const {
 ///
 void Trace::print(std::ostream &O) const {
   Function *F = getFunction ();
-  O << "; Trace from function " << F->getName() << ", blocks:\n";
+  O << "; Trace from function " << F->getNameStr() << ", blocks:\n";
   for (const_iterator i = begin(), e = end(); i != e; ++i) {
     O << "; ";
     WriteAsOperand(O, *i, true, getModule());