diff options
author | Ian Rogers <irogers@google.com> | 2014-10-24 14:20:06 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-10-24 14:23:42 -0700 |
commit | 2c4257be8191c5eefde744e8965fcefc80a0a97d (patch) | |
tree | 9db3e1f1c60f2df29638ba3ce9d5d5bb8b26ca2c /disassembler | |
parent | 98c271d517bc4d25fc6879b4b8e35ea93885d9e2 (diff) | |
download | art-2c4257be8191c5eefde744e8965fcefc80a0a97d.zip art-2c4257be8191c5eefde744e8965fcefc80a0a97d.tar.gz art-2c4257be8191c5eefde744e8965fcefc80a0a97d.tar.bz2 |
Tidy logging code not using UNIMPLEMENTED.
Change-Id: I7a79c1671a6ff8b2040887133b3e0925ef9a3cfe
Diffstat (limited to 'disassembler')
-rw-r--r-- | disassembler/disassembler_x86.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disassembler/disassembler_x86.cc b/disassembler/disassembler_x86.cc index e12559f..b9e98f6 100644 --- a/disassembler/disassembler_x86.cc +++ b/disassembler/disassembler_x86.cc @@ -508,7 +508,7 @@ DISASSEMBLER_ENTRY(cmp, case 0x5D: opcode << "min"; break; case 0x5E: opcode << "div"; break; case 0x5F: opcode << "max"; break; - default: LOG(FATAL) << "Unreachable"; + default: LOG(FATAL) << "Unreachable"; UNREACHABLE(); } if (prefix[2] == 0x66) { opcode << "pd"; @@ -1239,7 +1239,7 @@ DISASSEMBLER_ENTRY(cmp, case 0xF2: prefixed_opcode << "repne "; break; case 0xF3: prefixed_opcode << "repe "; break; case 0: break; - default: LOG(FATAL) << "Unreachable"; + default: LOG(FATAL) << "Unreachable"; UNREACHABLE(); } prefixed_opcode << opcode.str(); os << FormatInstructionPointer(begin_instr) |