diff options
author | 2014-09-27 02:07:06 +0000 | |
---|---|---|
committer | 2014-09-27 02:07:06 +0000 | |
commit | 11c48fe8c541753b57f5770e53a93efe147c60a0 (patch) | |
tree | 9f9c33b53ab3193e99e0eb1ac72b76ed9a85d7fc /runtime/utils.h | |
parent | dbe4dc12b3ff581c32427cffcb0c6885d28ff411 (diff) | |
parent | ffc788cb7b5b9f53734d7bb8af2d5e45d885546b (diff) |
Merge "Optimize get/set reflection performance" into lmp-dev
Diffstat (limited to 'runtime/utils.h')
-rw-r--r-- | runtime/utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/utils.h b/runtime/utils.h index 1dfa02a369..5bdbba8909 100644 --- a/runtime/utils.h +++ b/runtime/utils.h @@ -25,9 +25,10 @@ #include <vector> #include "base/logging.h" +#include "base/mutex.h" #include "globals.h" #include "instruction_set.h" -#include "base/mutex.h" +#include "primitive.h" #ifdef HAVE_ANDROID_OS #include "cutils/properties.h" @@ -280,6 +281,7 @@ std::string PrettyDescriptor(mirror::String* descriptor) std::string PrettyDescriptor(const char* descriptor); std::string PrettyDescriptor(mirror::Class* klass) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); +std::string PrettyDescriptor(Primitive::Type type); // Returns a human-readable signature for 'f'. Something like "a.b.C.f" or // "int a.b.C.f" (depending on the value of 'with_type'). |