diff options
author | Ian Rogers <irogers@google.com> | 2014-12-02 15:04:37 -0800 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-12-02 15:12:27 -0800 |
commit | 08f1f50d6c2e8f247b8f5f19711d75a792851c7a (patch) | |
tree | dca490545d56168f7f9ae4a4616199b1b1c8ba0c /runtime/native | |
parent | 8443637f71a777a13317fe7635028d758a0adf97 (diff) | |
download | art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.zip art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.gz art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.bz2 |
Remove FieldHelper.
Change-Id: I2d74e2d5b3c35a691c95339de0db9361847fca11
Diffstat (limited to 'runtime/native')
-rw-r--r-- | runtime/native/java_lang_reflect_Field.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/native/java_lang_reflect_Field.cc b/runtime/native/java_lang_reflect_Field.cc index a042620..2cebf02 100644 --- a/runtime/native/java_lang_reflect_Field.cc +++ b/runtime/native/java_lang_reflect_Field.cc @@ -20,7 +20,6 @@ #include "class_linker-inl.h" #include "common_throws.h" #include "dex_file-inl.h" -#include "field_helper.h" #include "jni_internal.h" #include "mirror/art_field-inl.h" #include "mirror/art_method-inl.h" @@ -294,9 +293,8 @@ static void Field_set(JNIEnv* env, jobject javaField, jobject javaObj, jobject j StackHandleScope<2> hs(soa.Self()); HandleWrapper<mirror::Object> h_o(hs.NewHandleWrapper(&o)); HandleWrapper<mirror::ArtField> h_f(hs.NewHandleWrapper(&f)); - FieldHelper fh(h_f); // May cause resolution. - field_type = fh.GetType(true); + field_type = h_f->GetType(true); if (field_type == nullptr) { DCHECK(soa.Self()->IsExceptionPending()); return; |