summaryrefslogtreecommitdiffstats
path: root/runtime/monitor.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-10-24 14:20:06 -0700
committerIan Rogers <irogers@google.com>2014-10-24 14:23:42 -0700
commit2c4257be8191c5eefde744e8965fcefc80a0a97d (patch)
tree9db3e1f1c60f2df29638ba3ce9d5d5bb8b26ca2c /runtime/monitor.cc
parent98c271d517bc4d25fc6879b4b8e35ea93885d9e2 (diff)
downloadart-2c4257be8191c5eefde744e8965fcefc80a0a97d.zip
art-2c4257be8191c5eefde744e8965fcefc80a0a97d.tar.gz
art-2c4257be8191c5eefde744e8965fcefc80a0a97d.tar.bz2
Tidy logging code not using UNIMPLEMENTED.
Change-Id: I7a79c1671a6ff8b2040887133b3e0925ef9a3cfe
Diffstat (limited to 'runtime/monitor.cc')
-rw-r--r--runtime/monitor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/monitor.cc b/runtime/monitor.cc
index 6123934..5020ced 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();
}
}