Fix warning building in optimized mode

llvm-svn: 13190
This commit is contained in:
Chris Lattner 2004-04-27 18:24:38 +00:00
parent f1c9593a90
commit f011b7dfe6
1 changed files with 1 additions and 0 deletions

View File

@ -319,6 +319,7 @@ void BytecodeParser::ParseInstruction(const unsigned char *&Buf,
IdxTy = Type::UIntTyID; IdxTy = Type::UIntTyID;
else { else {
switch (ValIdx & 3) { switch (ValIdx & 3) {
default:
case 0: IdxTy = Type::UIntTyID; break; case 0: IdxTy = Type::UIntTyID; break;
case 1: IdxTy = Type::IntTyID; break; case 1: IdxTy = Type::IntTyID; break;
case 2: IdxTy = Type::ULongTyID; break; case 2: IdxTy = Type::ULongTyID; break;