Silence a GCC warning about not handling all flags in this switch, we

specifically assert on unexpected flags.

llvm-svn: 115143
This commit is contained in:
Chandler Carruth 2010-09-30 10:59:51 +00:00
parent 99a9040a1f
commit f44d350614
1 changed files with 2 additions and 2 deletions

View File

@ -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) {