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 /runtime/native/java_lang_System.cc | |
parent | 98c271d517bc4d25fc6879b4b8e35ea93885d9e2 (diff) | |
download | android_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/native/java_lang_System.cc')
-rw-r--r-- | runtime/native/java_lang_System.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/native/java_lang_System.cc b/runtime/native/java_lang_System.cc index ee99e78067..43681a70fd 100644 --- a/runtime/native/java_lang_System.cc +++ b/runtime/native/java_lang_System.cc @@ -93,7 +93,7 @@ static void System_arraycopy(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, switch (dstComponentPrimitiveType) { case Primitive::kPrimVoid: LOG(FATAL) << "Unreachable, cannot have arrays of type void"; - return; + UNREACHABLE(); case Primitive::kPrimBoolean: case Primitive::kPrimByte: DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 1U); @@ -122,7 +122,7 @@ static void System_arraycopy(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, } default: LOG(FATAL) << "Unknown array type: " << PrettyTypeOf(srcArray); - return; + UNREACHABLE(); } } // If one of the arrays holds a primitive type the other array must hold the exact same type. |