OSDN Git Service

ART: Fix computation of frame size for direct proxy methods
authorSerguei Katkov <serguei.i.katkov@intel.com>
Fri, 29 Aug 2014 11:20:15 +0000 (18:20 +0700)
committerIan Rogers <irogers@google.com>
Thu, 4 Sep 2014 14:23:16 +0000 (07:23 -0700)
commit481458d4e8e9c3677249bfd82d36273bf97412fb
treec956d4025d1d336db94a2671c3bd2425d1666936
parent6b28a456b075fe53dfb7e924a44dbf35d0d41eb3
ART: Fix computation of frame size for direct proxy methods

Proxy method has only one direct method and it is a constructor which
is cloned from java.lang.reflect.Proxy class together with code.
As a result its body is a compiled quick code and frame size should be
computed accordingly in contrast with other virtual methods which are
invoked through stub.

Change-Id: I0ac99b2f567b281c9342152bad1149dd6cd39480
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
(cherry picked from commit 805bab1738549b2477b3ad4d9d57fd7c681451b9)
runtime/mirror/art_method-inl.h