summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2015-04-16 15:41:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-16 15:41:03 +0000
commit8aec061f5e58876bcc892d8c0309bc13b5349f5c (patch)
tree468528f9081cc33299317a3fa62cfc6d84c224e8 /compiler/driver/compiler_driver.h
parentf90b8548e91392dfc24e8b0f7d3000f4f121c19d (diff)
parentf1c6d9e87cbfd27702103ccc7c7f08ce784dc872 (diff)
Merge "Fallback to quick in case of soft verification errors"
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index f1066a5005..1a4ae13176 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -425,6 +425,12 @@ class CompilerDriver {
void RecordClassStatus(ClassReference ref, mirror::Class::Status status)
LOCKS_EXCLUDED(compiled_classes_lock_);
+ // Checks if the specified method has been verified without failures. Returns
+ // false if the method is not in the verification results (GetVerificationResults).
+ bool IsMethodVerifiedWithoutFailures(uint32_t method_idx,
+ uint16_t class_def_idx,
+ const DexFile& dex_file) const;
+
SwapVector<uint8_t>* DeduplicateCode(const ArrayRef<const uint8_t>& code);
SwapSrcMap* DeduplicateSrcMappingTable(const ArrayRef<SrcMapElem>& src_map);
SwapVector<uint8_t>* DeduplicateMappingTable(const ArrayRef<const uint8_t>& code);