mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Convert some assert(0) to llvm_unreachable or fold an 'if' condition into the assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211254 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1574,8 +1574,7 @@ void ELFObjectWriter::WriteSection(MCAssembler &Asm,
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(0 && "FIXME: sh_type value not supported!");
|
||||
break;
|
||||
llvm_unreachable("FIXME: sh_type value not supported!");
|
||||
}
|
||||
|
||||
if (TargetObjectWriter->getEMachine() == ELF::EM_ARM &&
|
||||
|
Reference in New Issue
Block a user