From ebb54c55e1e870946b165370f0c49d5410e48524 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 28 Nov 2004 17:56:47 +0000 Subject: Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully PR449 llvm-svn: 18306 --- llvm/lib/CodeGen/AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp') 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; -- cgit v1.2.3