diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-28 17:56:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-28 17:56:47 +0000 |
commit | ebb54c55e1e870946b165370f0c49d5410e48524 (patch) | |
tree | 5ecc4099aff50b50bfed6abfaa39e381db73d56e /llvm/lib/CodeGen/AsmPrinter.cpp | |
parent | 9d313cfa1c85c743e9b959a52fd7a20b29fef941 (diff) | |
download | bcm5719-llvm-ebb54c55e1e870946b165370f0c49d5410e48524.tar.gz bcm5719-llvm-ebb54c55e1e870946b165370f0c49d5410e48524.zip |
Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully
PR449
llvm-svn: 18306
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index eb57cced13e..2eaebad4a67 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter.cpp @@ -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; |