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:
2761e9f
)
Minor bugfix for previous checkin
author
Chris Lattner
<sabre@nondot.org>
Sat, 13 Apr 2002 21:11:04 +0000
(21:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 13 Apr 2002 21:11:04 +0000
(21:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2241
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 7d535e3882c028e9e79a35e59863d256c06c11f6..2e5f75d0b4b8ab0a19957849bf2cd8f9bfe179bc 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-186,7
+186,7
@@
static string calcTypeName(const Type *Ty, vector<const Type *> &TypeStack,
break;
case Type::ArrayTyID: {
const ArrayType *ATy = cast<const ArrayType>(Ty);
- Result = "[" +
i
tostr(ATy->getNumElements()) + " x ";
+ Result = "[" +
u
tostr(ATy->getNumElements()) + " x ";
Result += calcTypeName(ATy->getElementType(), TypeStack, TypeNames) + "]";
break;
}