summaryrefslogtreecommitdiff
path: root/tools/titrace/instruction_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/titrace/instruction_decoder.cc')
-rw-r--r--tools/titrace/instruction_decoder.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/titrace/instruction_decoder.cc b/tools/titrace/instruction_decoder.cc
index 89904b32cd..6f497b3c04 100644
--- a/tools/titrace/instruction_decoder.cc
+++ b/tools/titrace/instruction_decoder.cc
@@ -456,9 +456,10 @@ class ClassInstructionDecoder : public InstructionDecoder {
case kBreakpoint: return "breakpoint";
case kImpdep1: return "impdep1";
case kImpdep2: return "impdep2";
- default: LOG(FATAL) << "Unknown opcode " << op;
+ default:
+ LOG(FATAL) << "Unknown opcode " << op;
+ __builtin_unreachable();
}
- return "";
}
};
};
@@ -500,7 +501,7 @@ DEX_INSTRUCTION_LIST(MAKE_ENUM_DEFINITION)
#undef MAKE_ENUM_DEFINITION
default: LOG(FATAL) << "Unknown opcode " << op;
}
- return "";
+ __builtin_unreachable();
}
};
};