summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/InstructionReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-27 18:24:38 +0000
committerChris Lattner <sabre@nondot.org>2004-04-27 18:24:38 +0000
commitf011b7dfe68a83ec9e14072e7eb945ad80eddac4 (patch)
treefa377a0f29c1f3a928d80b539bc049b320dad6a1 /llvm/lib/Bytecode/Reader/InstructionReader.cpp
parentf1c9593a90cbd712fb02562e6bf6106ef2de8dbc (diff)
downloadbcm5719-llvm-f011b7dfe68a83ec9e14072e7eb945ad80eddac4.tar.gz
bcm5719-llvm-f011b7dfe68a83ec9e14072e7eb945ad80eddac4.zip
Fix warning building in optimized mode
llvm-svn: 13190
Diffstat (limited to 'llvm/lib/Bytecode/Reader/InstructionReader.cpp')
-rw-r--r--llvm/lib/Bytecode/Reader/InstructionReader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp
index d66b12cf0d9..5033a326b60 100644
--- a/llvm/lib/Bytecode/Reader/InstructionReader.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud