summaryrefslogtreecommitdiffstats
path: root/runtime/entrypoints/entrypoint_utils-inl.h
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/entrypoints/entrypoint_utils-inl.h
parent98c271d517bc4d25fc6879b4b8e35ea93885d9e2 (diff)
downloadandroid_art-2c4257be8191c5eefde744e8965fcefc80a0a97d.tar.gz
android_art-2c4257be8191c5eefde744e8965fcefc80a0a97d.tar.bz2
android_art-2c4257be8191c5eefde744e8965fcefc80a0a97d.zip
Tidy logging code not using UNIMPLEMENTED.
Change-Id: I7a79c1671a6ff8b2040887133b3e0925ef9a3cfe
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils-inl.h')
-rw-r--r--runtime/entrypoints/entrypoint_utils-inl.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/entrypoints/entrypoint_utils-inl.h b/runtime/entrypoints/entrypoint_utils-inl.h
index 9fb9a3ba56..ccc5d835c9 100644
--- a/runtime/entrypoints/entrypoint_utils-inl.h
+++ b/runtime/entrypoints/entrypoint_utils-inl.h
@@ -499,11 +499,8 @@ static inline mirror::ArtField* FindFieldFast(uint32_t field_idx,
case StaticPrimitiveRead: is_primitive = true; is_set = false; is_static = true; break;
case StaticPrimitiveWrite: is_primitive = true; is_set = true; is_static = true; break;
default:
- LOG(FATAL) << "UNREACHABLE"; // Assignment below to avoid GCC warnings.
- is_primitive = true;
- is_set = true;
- is_static = true;
- break;
+ LOG(FATAL) << "UNREACHABLE";
+ UNREACHABLE();
}
if (UNLIKELY(resolved_field->IsStatic() != is_static)) {
// Incompatible class change.