mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Fix warning building in optimized mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user