[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

Reid Spencer reid at x10sys.com
Thu Jan 11 10:22:21 PST 2007



Changes in directory llvm/lib/Bytecode/Writer:

Writer.cpp updated: 1.143 -> 1.144
---
Log message:

Rename BoolTy as Int1Ty. Patch by Sheng Zhou.


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

 Writer.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.143 llvm/lib/Bytecode/Writer/Writer.cpp:1.144
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.143	Thu Jan 11 06:24:14 2007
+++ llvm/lib/Bytecode/Writer/Writer.cpp	Thu Jan 11 12:21:28 2007
@@ -321,7 +321,7 @@
   }
 
   switch (CPV->getType()->getTypeID()) {
-  case Type::BoolTyID:    // Boolean Types
+  case Type::Int1TyID:    // Boolean Types
     if (cast<ConstantInt>(CPV)->getBoolValue())
       output_vbr(1U);
     else






More information about the llvm-commits mailing list