aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/AsmWriter.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 4730c3166b..89240fca2c 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -268,11 +268,7 @@ static void calcTypeName(const Type *Ty,
switch (Ty->getTypeID()) {
case Type::IntegerTyID: {
unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth();
- if (BitWidth == 1)
- Result += "bool";
- else {
- Result += "i" + utostr(BitWidth);
- }
+ Result += "i" + utostr(BitWidth);
break;
}
case Type::FunctionTyID: {