diff options
author | Andreas Gampe <agampe@google.com> | 2014-03-10 13:37:40 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-03-12 15:16:12 -0700 |
commit | 36fea8dd490ab6439f391b8cd7f366c59f026fd2 (patch) | |
tree | 6720290f54717f7cee1116103cd1839147936146 /runtime/mirror/art_method.h | |
parent | 63dcdff34c40a64df6939ea5bba71813abd2acd3 (diff) | |
download | art-36fea8dd490ab6439f391b8cd7f366c59f026fd2.tar.gz art-36fea8dd490ab6439f391b8cd7f366c59f026fd2.tar.bz2 art-36fea8dd490ab6439f391b8cd7f366c59f026fd2.zip |
Fixing structure of native frame for Generic JNI
This changes the layout of the callee-save frame used in generic
JNI to be consistent with the JNI compiler, that is, the SIRT is
inline (above the method reference). Now the location of the
"this" object is consistent.
Change-Id: Ibad0882680712cb640b4c70ada0229ef7cf4e62c
Diffstat (limited to 'runtime/mirror/art_method.h')
-rw-r--r-- | runtime/mirror/art_method.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/mirror/art_method.h b/runtime/mirror/art_method.h index 8c22e67160..a9da66c535 100644 --- a/runtime/mirror/art_method.h +++ b/runtime/mirror/art_method.h @@ -342,13 +342,9 @@ class MANAGED ArtMethod : public Object { return GetFrameSizeInBytes() - kPointerSize; } -#ifndef NDEBUG - size_t GetSirtOffsetInBytes() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); -#else size_t GetSirtOffsetInBytes() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { return kPointerSize; } -#endif bool IsRegistered(); |