diff options
author | Vladimir Marko <vmarko@google.com> | 2014-01-27 11:15:17 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-01-28 11:22:42 +0000 |
commit | 2730db03beee4d6687ddfb5000c33c0370fbc6eb (patch) | |
tree | a85706c800c67deda5c7b612c8010059aa7b365c /compiler/dex/verification_results.h | |
parent | c7f832061fea59fd6abd125f26c8ca1faec695a5 (diff) | |
download | art-2730db03beee4d6687ddfb5000c33c0370fbc6eb.zip art-2730db03beee4d6687ddfb5000c33c0370fbc6eb.tar.gz art-2730db03beee4d6687ddfb5000c33c0370fbc6eb.tar.bz2 |
Add VerfiedMethod to DexCompilationUnit.
Avoid some mutex locking and map lookups.
Change-Id: I8e0486af77e38dcd065569572a6b985eb57f4f63
Diffstat (limited to 'compiler/dex/verification_results.h')
-rw-r--r-- | compiler/dex/verification_results.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler/dex/verification_results.h b/compiler/dex/verification_results.h index e9cdb53..2eb0713 100644 --- a/compiler/dex/verification_results.h +++ b/compiler/dex/verification_results.h @@ -47,16 +47,6 @@ class VerificationResults { const VerifiedMethod* GetVerifiedMethod(MethodReference ref) LOCKS_EXCLUDED(verified_methods_lock_); - const std::vector<uint8_t>* GetDexGcMap(MethodReference ref) - LOCKS_EXCLUDED(verified_methods_lock_); - - const MethodReference* GetDevirtMap(const MethodReference& ref, uint32_t dex_pc) - LOCKS_EXCLUDED(verified_methods_lock_); - - // Returns true if the cast can statically be verified to be redundant - // by using the check-cast elision peephole optimization in the verifier. - bool IsSafeCast(MethodReference ref, uint32_t pc) LOCKS_EXCLUDED(safecast_map_lock_); - void AddRejectedClass(ClassReference ref) LOCKS_EXCLUDED(rejected_classes_lock_); bool IsClassRejected(ClassReference ref) LOCKS_EXCLUDED(rejected_classes_lock_); |