Pacify GCC, which worries about falling off the end of the switch.

llvm-svn: 187649
This commit is contained in:
Duncan Sands 2013-08-02 09:37:20 +00:00
parent 90daaf9132
commit 3194fca45f
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ format_object1<int64_t> MCInstPrinter::formatHex(const int64_t Value) const {
return format("%" PRIx64 "h", Value);
}
}
llvm_unreachable("unsupported print style");
}
format_object1<uint64_t> MCInstPrinter::formatHex(const uint64_t Value) const {
@ -101,4 +102,5 @@ format_object1<uint64_t> MCInstPrinter::formatHex(const uint64_t Value) const {
else
return format("%" PRIx64 "h", Value);
}
llvm_unreachable("unsupported print style");
}