summaryrefslogtreecommitdiff
path: root/src/reflection.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2012-09-18 08:57:04 -0700
committer Mathieu Chartier <mathieuc@google.com> 2012-09-21 17:32:56 -0700
commit66f19258f9728d4ffe026074d8fd429d639802fa (patch)
treefd94009774c6cbbb1528ea096e606133bd35f104 /src/reflection.h
parenta5e1e3d153990845d80cb8d013157210f11a473c (diff)
Change dex cache to be java object instead of array, add pointer to dex file in dex cache.
Generic clean up to facilitate having GDB macros for Pretty* helper functions. Improved cleanliness of DexCache since having it as an object array was not the best solution. Fixed a bug in InOrderWalk caused by ResolveType sometimes allocating classes. Rename C++ Method to AbstractMethod and add two new classes Constructor, Method which both inherit from AbstractMethod. Rename done to have the C++ code be closer to the java code. Change-Id: I4995b4c5e47a3822192b08afa24a639d3b1f4da9
Diffstat (limited to 'src/reflection.h')
-rw-r--r--src/reflection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflection.h b/src/reflection.h
index 93219f8afc..b61acda267 100644
--- a/src/reflection.h
+++ b/src/reflection.h
@@ -25,13 +25,13 @@ namespace art {
class Class;
class Field;
union JValue;
-class Method;
+class AbstractMethod;
class Object;
class ScopedObjectAccess;
void BoxPrimitive(Primitive::Type src_class, JValue& value)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
-bool UnboxPrimitiveForArgument(Object* o, Class* dst_class, JValue& unboxed_value, Method* m,
+bool UnboxPrimitiveForArgument(Object* o, Class* dst_class, JValue& unboxed_value, AbstractMethod* m,
size_t index)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
bool UnboxPrimitiveForField(Object* o, Class* dst_class, JValue& unboxed_value, Field* f)