projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebf428
)
Fix warning building in optimized mode
author
Chris Lattner
<sabre@nondot.org>
Tue, 27 Apr 2004 18:24:38 +0000
(18:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 27 Apr 2004 18:24:38 +0000
(18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13190
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/InstructionReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/InstructionReader.cpp
b/lib/Bytecode/Reader/InstructionReader.cpp
index d66b12cf0d95a0bdfebb457712b390bc3cf5b6c6..5033a326b601e27fda098b9dcd3cbc7b91400c0d 100644
(file)
--- a/
lib/Bytecode/Reader/InstructionReader.cpp
+++ b/
lib/Bytecode/Reader/InstructionReader.cpp
@@
-319,6
+319,7
@@
void BytecodeParser::ParseInstruction(const unsigned char *&Buf,
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;