mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Add an unreachable to silence warning - the switch is actually
fully enumerated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117647 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a9eb2f1b3
commit
c223e2b10b
@ -797,6 +797,8 @@ MatchAndEmitInstruction(SMLoc IDLoc,
|
||||
case Match_MnemonicFail:
|
||||
return Error(IDLoc, "unrecognized instruction mnemonic");
|
||||
}
|
||||
|
||||
llvm_unreachable("Implement any new match types added!");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user