summaryrefslogtreecommitdiff
path: root/runtime/scoped_thread_state_change.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2016-11-08 13:20:52 -0800
committer Andreas Gampe <agampe@google.com> 2016-11-08 13:20:52 -0800
commit08883debd927d18c9ecf66683a2a11aa98165656 (patch)
treea73e1025905c5d5a4a64f1f20fcc4fc5295c5f5e /runtime/scoped_thread_state_change.h
parent8bab69aafb3039f1dfe4aad4faf2a99986018abb (diff)
ART: Refactor jfieldID handling
ArtField objects have been native since Marshmallow. Remove the dependency on being runnable. Refactor the code into the jni_internal header. Test: m test-art-host Change-Id: I46708c70f9b4b566d7e26e4c5ffc3f0cbadc43fa
Diffstat (limited to 'runtime/scoped_thread_state_change.h')
-rw-r--r--runtime/scoped_thread_state_change.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/scoped_thread_state_change.h b/runtime/scoped_thread_state_change.h
index 65362c8d24..b4992586ce 100644
--- a/runtime/scoped_thread_state_change.h
+++ b/runtime/scoped_thread_state_change.h
@@ -94,10 +94,6 @@ class ScopedObjectAccessAlreadyRunnable : public ValueObject {
template<typename T, bool kPoison = kIsDebugBuild>
ObjPtr<T, kPoison> Decode(jobject obj) const REQUIRES_SHARED(Locks::mutator_lock_);
- ArtField* DecodeField(jfieldID fid) const REQUIRES_SHARED(Locks::mutator_lock_);
-
- jfieldID EncodeField(ArtField* field) const REQUIRES_SHARED(Locks::mutator_lock_);
-
ALWAYS_INLINE bool IsRunnable() const;
protected: