summaryrefslogtreecommitdiffstats
path: root/runtime/entrypoints/quick
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-10-25 00:14:26 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-10-25 00:14:26 +0000
commit3e3364e267117462894e0c3b7d9b413b25d28057 (patch)
treeb5f96ac99323be3e210156de8d97a61af7e1a19c /runtime/entrypoints/quick
parentc57a66d5aadfd682c63e34ec1b1f304260f8c333 (diff)
parent2c4257be8191c5eefde744e8965fcefc80a0a97d (diff)
downloadart-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.cc3
-rw-r--r--runtime/entrypoints/quick/quick_trampoline_entrypoints.cc7
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();
}
}