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

Chris Lattner lattner at cs.uiuc.edu
Tue Apr 27 13:25:02 PDT 2004


Changes in directory llvm/lib/Bytecode/Reader:

InstructionReader.cpp updated: 1.70 -> 1.71

---
Log message:

Fix warning building in optimized mode


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

Index: llvm/lib/Bytecode/Reader/InstructionReader.cpp
diff -u llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.70 llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.71
--- llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.70	Sun Apr  4 20:27:22 2004
+++ llvm/lib/Bytecode/Reader/InstructionReader.cpp	Tue Apr 27 13:24:38 2004
@@ -319,6 +319,7 @@
           IdxTy = Type::UIntTyID;
         else {
           switch (ValIdx & 3) {
+          default:
           case 0: IdxTy = Type::UIntTyID; break;
           case 1: IdxTy = Type::IntTyID; break;
           case 2: IdxTy = Type::ULongTyID; break;





More information about the llvm-commits mailing list