Silence a GCC warning

llvm-svn: 232923
This commit is contained in:
David Majnemer 2015-03-22 21:27:10 +00:00
parent 66f486fe11
commit abd9f5bfb6
1 changed files with 2 additions and 2 deletions

View File

@ -164,8 +164,7 @@ enum X86_32RelType { RT32_32, RT32_16, RT32_8 };
static X86_32RelType getType32(X86_64RelType T) { static X86_32RelType getType32(X86_64RelType T) {
switch (T) { switch (T) {
default: case RT64_64:
//case RT64_64:
llvm_unreachable("Unimplemented"); llvm_unreachable("Unimplemented");
case RT64_32: case RT64_32:
case RT64_32S: case RT64_32S:
@ -175,6 +174,7 @@ static X86_32RelType getType32(X86_64RelType T) {
case RT64_8: case RT64_8:
return RT32_8; return RT32_8;
} }
llvm_unreachable("unexpected relocation type!");
} }
static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier, static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,