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/verifier | |
parent | 8443637f71a777a13317fe7635028d758a0adf97 (diff) | |
download | art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.zip art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.gz art-08f1f50d6c2e8f247b8f5f19711d75a792851c7a.tar.bz2 |
Remove FieldHelper.
Change-Id: I2d74e2d5b3c35a691c95339de0db9361847fca11
Diffstat (limited to 'runtime/verifier')
-rw-r--r-- | runtime/verifier/method_verifier.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/verifier/method_verifier.cc b/runtime/verifier/method_verifier.cc index f9098c7..1b3cc8f 100644 --- a/runtime/verifier/method_verifier.cc +++ b/runtime/verifier/method_verifier.cc @@ -25,7 +25,6 @@ #include "dex_file-inl.h" #include "dex_instruction-inl.h" #include "dex_instruction_visitor.h" -#include "field_helper.h" #include "gc/accounting/card_table-inl.h" #include "indenter.h" #include "intern_table.h" @@ -3826,7 +3825,7 @@ void MethodVerifier::VerifyISFieldAccess(const Instruction* inst, const RegType& { StackHandleScope<1> hs(self_); HandleWrapper<mirror::ArtField> h_field(hs.NewHandleWrapper(&field)); - field_type_class = FieldHelper(h_field).GetType(can_load_classes_); + field_type_class = h_field->GetType(can_load_classes_); } if (field_type_class != nullptr) { field_type = ®_types_.FromClass(field->GetTypeDescriptor(), field_type_class, @@ -3950,7 +3949,7 @@ void MethodVerifier::VerifyQuickFieldAccess(const Instruction* inst, const RegTy { StackHandleScope<1> hs(Thread::Current()); HandleWrapper<mirror::ArtField> h_field(hs.NewHandleWrapper(&field)); - field_type_class = FieldHelper(h_field).GetType(can_load_classes_); + field_type_class = h_field->GetType(can_load_classes_); } if (field_type_class != nullptr) { |