summaryrefslogtreecommitdiffstats
path: root/runtime/reflection.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-07-15 15:36:11 -0700
committerIan Rogers <irogers@google.com>2014-07-15 17:07:49 -0700
commite63db27db913f1a88e2095a1ee8239b2bb9124e8 (patch)
tree893dee6783bca6717259321a6e4ba029c9c123e2 /runtime/reflection.cc
parent07b8441303ea82fca3cb85d71ecf8752d73cedd7 (diff)
downloadandroid_art-e63db27db913f1a88e2095a1ee8239b2bb9124e8.tar.gz
android_art-e63db27db913f1a88e2095a1ee8239b2bb9124e8.tar.bz2
android_art-e63db27db913f1a88e2095a1ee8239b2bb9124e8.zip
Break apart header files.
Create libart-gtest for common runtime and compiler gtest routines. Rename CompilerCallbacksImpl that is quick compiler specific. Rename trace clock source constants to not use the overloaded profiler term. Change-Id: I4aac4bdc7e7850c68335f81e59a390133b54e933
Diffstat (limited to 'runtime/reflection.cc')
-rw-r--r--runtime/reflection.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc
index fe5e1043a9..41421bc10f 100644
--- a/runtime/reflection.cc
+++ b/runtime/reflection.cc
@@ -567,6 +567,11 @@ bool VerifyObjectIsClass(mirror::Object* o, mirror::Class* c) {
return true;
}
+static std::string PrettyDescriptor(Primitive::Type type) {
+ std::string descriptor_string(Primitive::Descriptor(type));
+ return PrettyDescriptor(descriptor_string);
+}
+
bool ConvertPrimitiveValue(const ThrowLocation* throw_location, bool unbox_for_result,
Primitive::Type srcType, Primitive::Type dstType,
const JValue& src, JValue* dst) {