mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Silence a GCC warning about not handling all flags in this switch, we
specifically assert on unexpected flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
186e7a0fb1
commit
5c0d472b6e
@ -158,9 +158,9 @@ void MCMachOStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
|
||||
case MCAF_SubsectionsViaSymbols:
|
||||
getAssembler().setSubsectionsViaSymbols(true);
|
||||
return;
|
||||
default:
|
||||
llvm_unreachable("invalid assembler flag!");
|
||||
}
|
||||
|
||||
assert(0 && "invalid assembler flag!");
|
||||
}
|
||||
|
||||
void MCMachOStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
|
||||
|
Loading…
Reference in New Issue
Block a user