1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Remove code path that's dead after r358835

llvm-svn: 362333
This commit is contained in:
Nico Weber 2019-06-02 17:41:07 +00:00
parent 6d3e867381
commit 12121be5b1

View File

@ -1086,10 +1086,8 @@ static void writeHexDigit(char *Buffer, uint8_t Digit) {
}
static void outputHex(OutputStream &OS, unsigned C) {
if (C == 0) {
OS << "\\x00";
return;
}
assert (C != 0);
// It's easier to do the math if we can work from right to left, but we need
// to print the numbers from left to right. So render this into a temporary
// buffer first, then output the temporary buffer. Each byte is of the form