From ea46f950e7a51585db293cd7f047de190a482414 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Tue, 30 Jul 2013 01:26:50 -0700 Subject: Refactor java.lang.reflect implementation Cherry-picked from commit ed41d5c44299ec5d44b8514f6e17f802f48094d1. Move to ArtMethod/Field instead of AbstractMethod/Field and have java.lang.reflect APIs delegate to ArtMethod/ArtField. Bug: 10014286. Change-Id: Iafc1d8c5b62562c9af8fb9fd8c5e1d61270536e7 --- runtime/interpreter/interpreter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/interpreter/interpreter.h') diff --git a/runtime/interpreter/interpreter.h b/runtime/interpreter/interpreter.h index af4a147..49e8de0 100644 --- a/runtime/interpreter/interpreter.h +++ b/runtime/interpreter/interpreter.h @@ -22,7 +22,7 @@ namespace art { namespace mirror { -class AbstractMethod; +class ArtMethod; class Object; } // namespace mirror @@ -33,8 +33,8 @@ class Thread; namespace interpreter { -// Called by AbstractMethod::Invoke, shadow frames arguments are taken from the args array. -extern void EnterInterpreterFromInvoke(Thread* self, mirror::AbstractMethod* method, +// Called by ArtMethod::Invoke, shadow frames arguments are taken from the args array. +extern void EnterInterpreterFromInvoke(Thread* self, mirror::ArtMethod* method, mirror::Object* receiver, uint32_t* args, JValue* result) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); -- cgit v1.1