diff options
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) { |