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 | 63eb93025d78d4745ece7c63bee77934380ee599 (patch) | |
tree | d3d358b3fe15142d05dc185dd891378ea4567ec5 | |
parent | 96d7dac55ff322e4ec8aaa1b35d77179f8800753 (diff) | |
download | external_llvm-63eb93025d78d4745ece7c63bee77934380ee599.zip external_llvm-63eb93025d78d4745ece7c63bee77934380ee599.tar.gz external_llvm-63eb93025d78d4745ece7c63bee77934380ee599.tar.bz2 |
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
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index eb57cce..2eaebad 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/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; |