diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-16 16:30:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-16 16:30:34 +0000 |
commit | cc863b2bb6bb018416a65b2f9666ca9dd07dcae5 (patch) | |
tree | e2838a4c105b98d41a5e9822d05095aa84ca25e8 /llvm/lib/CodeGen | |
parent | cb6b02a0866b568dd83c74daddf570bade449191 (diff) | |
download | bcm5719-llvm-cc863b2bb6bb018416a65b2f9666ca9dd07dcae5.tar.gz bcm5719-llvm-cc863b2bb6bb018416a65b2f9666ca9dd07dcae5.zip |
Let printf do the formatting instead aligning strings ourselves.
While at it, merge some format strings.
llvm-svn: 142140
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index d9d0d2709c3..632b6146ace 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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: |