diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-05 18:49:11 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-05 18:49:11 +0000 |
commit | c5600c89d61e25f0662847a81af8afbf264caee4 (patch) | |
tree | 27cfd31ee31cd5ec734505da58ef373aa8398672 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 73bb251cd7a535fb93bb3a52eda61555fb253f41 (diff) |
Avoid printing a redundant space in SDNode->dump().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 98e7317b49..0f0515ba31 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5814,9 +5814,8 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const { void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const { print_types(OS, G); - OS << " "; for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { - if (i) OS << ", "; + if (i) OS << ", "; else OS << " "; OS << (void*)getOperand(i).getNode(); if (unsigned RN = getOperand(i).getResNo()) OS << ":" << RN; |