aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/Type.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index e03d9a7887..d172dce95b 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -218,10 +218,7 @@ static std::string getTypeDescription(const Type *Ty,
switch (Ty->getTypeID()) {
case Type::IntegerTyID: {
const IntegerType *ITy = cast<IntegerType>(Ty);
- if (ITy->getBitWidth() == 1)
- Result = "bool"; // FIXME: eventually this becomes i1
- else
- Result = "i" + utostr(ITy->getBitWidth());
+ Result = "i" + utostr(ITy->getBitWidth());
break;
}
case Type::FunctionTyID: {