diff options
author | Ian Rogers <irogers@google.com> | 2014-10-25 00:14:26 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-10-25 00:14:26 +0000 |
commit | 3e3364e267117462894e0c3b7d9b413b25d28057 (patch) | |
tree | b5f96ac99323be3e210156de8d97a61af7e1a19c /runtime/entrypoints/quick | |
parent | c57a66d5aadfd682c63e34ec1b1f304260f8c333 (diff) | |
parent | 2c4257be8191c5eefde744e8965fcefc80a0a97d (diff) | |
download | art-3e3364e267117462894e0c3b7d9b413b25d28057.zip art-3e3364e267117462894e0c3b7d9b413b25d28057.tar.gz art-3e3364e267117462894e0c3b7d9b413b25d28057.tar.bz2 |
Merge "Tidy logging code not using UNIMPLEMENTED."
Diffstat (limited to 'runtime/entrypoints/quick')
-rw-r--r-- | runtime/entrypoints/quick/quick_alloc_entrypoints.cc | 3 | ||||
-rw-r--r-- | runtime/entrypoints/quick/quick_trampoline_entrypoints.cc | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc index a2869ec..7dbfdd5 100644 --- a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc +++ b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc @@ -248,7 +248,8 @@ void ResetQuickAllocEntryPoints(QuickEntryPoints* qpoints) { } #endif default: { - LOG(FATAL) << "Unimplemented"; + UNIMPLEMENTED(FATAL); + UNREACHABLE(); } } } diff --git a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc index 93c47dc..e0aab75 100644 --- a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc +++ b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc @@ -486,7 +486,7 @@ void BuildQuickShadowFrameVisitor::Visit() { break; case Primitive::kPrimVoid: LOG(FATAL) << "UNREACHABLE"; - break; + UNREACHABLE(); } ++cur_reg_; } @@ -594,8 +594,7 @@ void BuildQuickArgumentVisitor::Visit() { break; case Primitive::kPrimVoid: LOG(FATAL) << "UNREACHABLE"; - val.j = 0; - break; + UNREACHABLE(); } args_->push_back(val); } @@ -1587,7 +1586,7 @@ void BuildGenericJniFrameVisitor::Visit() { break; case Primitive::kPrimVoid: LOG(FATAL) << "UNREACHABLE"; - break; + UNREACHABLE(); } } |