diff options
Diffstat (limited to 'runtime/monitor.cc')
-rw-r--r-- | runtime/monitor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/monitor.cc b/runtime/monitor.cc index 6123934d3c..5020ced396 100644 --- a/runtime/monitor.cc +++ b/runtime/monitor.cc @@ -877,7 +877,7 @@ uint32_t Monitor::GetLockOwnerThreadId(mirror::Object* obj) { } default: { LOG(FATAL) << "Unreachable"; - return ThreadList::kInvalidThreadId; + UNREACHABLE(); } } } @@ -1032,7 +1032,7 @@ bool Monitor::IsValidLockWord(LockWord lock_word) { return true; default: LOG(FATAL) << "Unreachable"; - return false; + UNREACHABLE(); } } |