mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-16 14:27:54 +00:00
Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully
PR449 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18306 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -275,13 +275,13 @@ void AsmPrinter::emitGlobalConstant(const Constant *CV) {
|
|||||||
|
|
||||||
const Type *type = CV->getType();
|
const Type *type = CV->getType();
|
||||||
switch (type->getTypeID()) {
|
switch (type->getTypeID()) {
|
||||||
|
case Type::BoolTyID:
|
||||||
case Type::UByteTyID: case Type::SByteTyID:
|
case Type::UByteTyID: case Type::SByteTyID:
|
||||||
O << Data8bitsDirective;
|
O << Data8bitsDirective;
|
||||||
break;
|
break;
|
||||||
case Type::UShortTyID: case Type::ShortTyID:
|
case Type::UShortTyID: case Type::ShortTyID:
|
||||||
O << Data16bitsDirective;
|
O << Data16bitsDirective;
|
||||||
break;
|
break;
|
||||||
case Type::BoolTyID:
|
|
||||||
case Type::PointerTyID:
|
case Type::PointerTyID:
|
||||||
case Type::UIntTyID: case Type::IntTyID:
|
case Type::UIntTyID: case Type::IntTyID:
|
||||||
O << Data32bitsDirective;
|
O << Data32bitsDirective;
|
||||||
|
Reference in New Issue
Block a user