[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 28 09:56:59 PST 2004



Changes in directory llvm/lib/CodeGen:

AsmPrinter.cpp updated: 1.11 -> 1.12
---
Log message:

Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully
PR449: http://llvm.cs.uiuc.edu/PR449 


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.11 llvm/lib/CodeGen/AsmPrinter.cpp:1.12
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.11	Sat Oct 16 13:19:08 2004
+++ llvm/lib/CodeGen/AsmPrinter.cpp	Sun Nov 28 11:56:47 2004
@@ -275,13 +275,13 @@
 
   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;






More information about the llvm-commits mailing list