projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a55e62
)
Simplify this code and avoid an extra space character in the output.
author
Dan Gohman
<gohman@apple.com>
Fri, 30 Oct 2009 02:01:10 +0000
(
02:01
+0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 30 Oct 2009 02:01:10 +0000
(
02:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85568
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 2a25841b39e5c2a869cd5ca37f0c99c39b2317d8..9a803a16628094a2482ad0cba72162836a75efd1 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
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)