summaryrefslogtreecommitdiff
path: root/runtime/verifier/method_verifier.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2018-06-04 09:22:46 -0700
committer Mathieu Chartier <mathieuc@google.com> 2018-06-04 20:41:12 +0000
commit1f1cb9f2f0945dbcf6b79d0795b035233dfd9131 (patch)
treefc5f72ef884e0eaa92f515a90cfd997b0938208a /runtime/verifier/method_verifier.h
parent9ddef18ae95859a985e7a0de7e22999fcbc28e07 (diff)
Revert "Revert "Move runtime/ to ClassAccessor""
Fixed misplaced UnhideAccessFlags to be outside of a conditional that the code item is null / not deduped. This fixes an issue where these methods would not have had their access flags restored. Bug: 77709234 Bug: 79758018 Bug: 91962648 This reverts commit cc7e20f9ec7b4a7a57f7196e5e8be67a727f21d3. Test: test-art-host Test: atest FrameworksUiServicesTests Test: atest CtsInlineMockingTestCases Change-Id: I7e5712cdcccef81e19ce81d26743c517b0b8a67d
Diffstat (limited to 'runtime/verifier/method_verifier.h')
-rw-r--r--runtime/verifier/method_verifier.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/runtime/verifier/method_verifier.h b/runtime/verifier/method_verifier.h
index ae7481c6b1..9890af9d95 100644
--- a/runtime/verifier/method_verifier.h
+++ b/runtime/verifier/method_verifier.h
@@ -275,23 +275,6 @@ class MethodVerifier {
void Merge(const FailureData& src);
};
- // Verify all direct or virtual methods of a class. The method assumes that the iterator is
- // positioned correctly, and the iterator will be updated.
- template <bool kDirect>
- static FailureData VerifyMethods(Thread* self,
- ClassLinker* linker,
- const DexFile* dex_file,
- const DexFile::ClassDef& class_def,
- ClassDataItemIterator* it,
- Handle<mirror::DexCache> dex_cache,
- Handle<mirror::ClassLoader> class_loader,
- CompilerCallbacks* callbacks,
- bool allow_soft_failures,
- HardFailLogMode log_level,
- bool need_precise_constants,
- std::string* error_string)
- REQUIRES_SHARED(Locks::mutator_lock_);
-
/*
* Perform verification on a single method.
*