mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Fix a FIXME. 1 bit integer types are now printed as i1 not bool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54a525d7ae
commit
a1fed2d1c0
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user