Let printf do the formatting instead aligning strings ourselves.
[oota-llvm.git] / lib / CodeGen / SelectionDAG / SelectionDAG.cpp
index d9d0d2709c32f51861c3c3af7ee2a393881f8908..632b6146aceaaa07845d13d118fd8d00d9ec7bcc 100644 (file)
@@ -6592,7 +6592,7 @@ static void DumpNodesr(raw_ostream &OS, const SDNode *N, unsigned indent,
     return;
 
   // Dump the current SDNode, but don't end the line yet.
-  OS << std::string(indent, ' ');
+  OS.indent(indent);
   N->printr(OS, G);
 
   // Having printed this SDNode, walk the children: