summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-30 02:01:10 +0000
committerDan Gohman <gohman@apple.com>2009-10-30 02:01:10 +0000
commit43c574068bb8502e39e27897ae30d574e9729e07 (patch)
tree4f64f81ba89f0f65c42448755502281a894dd07c /llvm/lib/VMCore/AsmWriter.cpp
parent958c9f8524963fcee47e5cc8a4393ea59b5f5955 (diff)
downloadbcm5719-llvm-43c574068bb8502e39e27897ae30d574e9729e07.tar.gz
bcm5719-llvm-43c574068bb8502e39e27897ae30d574e9729e07.zip
Simplify this code and avoid an extra space character in the output.
llvm-svn: 85568
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 2a25841b39e..9a803a16628 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -1859,8 +1859,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
// Special case indirectbr instruction to get formatting nice and correct.
Out << ' ';
writeOperand(Operand, true);
- Out << ", ";
- Out << " [";
+ Out << ", [";
for (unsigned i = 1, e = I.getNumOperands(); i != e; ++i) {
if (i != 1)
OpenPOWER on IntegriCloud