mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-06 01:24:35 +00:00
Replace a comment that says 'unreachable' with llvm_unreachable in TableGen AsmWriter output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222650 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -474,7 +474,7 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) {
|
|||||||
O << " switch ((Bits >> "
|
O << " switch ((Bits >> "
|
||||||
<< (64-BitsLeft) << ") & "
|
<< (64-BitsLeft) << ") & "
|
||||||
<< ((1 << NumBits)-1) << ") {\n"
|
<< ((1 << NumBits)-1) << ") {\n"
|
||||||
<< " default: // unreachable.\n";
|
<< " default: llvm_unreachable(\"Invalid command number.\");\n";
|
||||||
|
|
||||||
// Print out all the cases.
|
// Print out all the cases.
|
||||||
for (unsigned i = 0, e = Commands.size(); i != e; ++i) {
|
for (unsigned i = 0, e = Commands.size(); i != e; ++i) {
|
||||||
|
Reference in New Issue
Block a user