mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully
PR449 llvm-svn: 18306
This commit is contained in:
parent
771cb4fb14
commit
c3750aa2a3
@ -275,13 +275,13 @@ void AsmPrinter::emitGlobalConstant(const Constant *CV) {
|
||||
|
||||
const Type *type = CV->getType();
|
||||
switch (type->getTypeID()) {
|
||||
case Type::BoolTyID:
|
||||
case Type::UByteTyID: case Type::SByteTyID:
|
||||
O << Data8bitsDirective;
|
||||
break;
|
||||
case Type::UShortTyID: case Type::ShortTyID:
|
||||
O << Data16bitsDirective;
|
||||
break;
|
||||
case Type::BoolTyID:
|
||||
case Type::PointerTyID:
|
||||
case Type::UIntTyID: case Type::IntTyID:
|
||||
O << Data32bitsDirective;
|
||||
|
Loading…
Reference in New Issue
Block a user