mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 08:24:12 +00:00
Pacify GCC, which worries about falling off the end of the switch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187649 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e393b73808
commit
1cd2ed8fdf
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user