summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2015-04-13 14:26:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-13 14:26:19 +0000
commitfc4fb0fdb1d18db2ba8d98e9f41211466ac86fd8 (patch)
treeb25d5be5b8e7320d05f42da549c11cc82d7dbc51 /compiler/driver/compiler_driver.cc
parent9134a1a405d471b0dfbf299ab0d4c2d629778632 (diff)
parent031af41d1debbdbd8964d7c504a789068dfe6029 (diff)
Merge "Revert "Fallback to quick in case of soft verification errors""
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 90de59f5bc..6d7924890e 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -2344,13 +2344,6 @@ CompiledMethod* CompilerDriver::GetCompiledMethod(MethodReference ref) const {
return it->second;
}
-bool CompilerDriver::IsMethodVerifiedWithoutFailures(uint32_t method_idx,
- const DexFile& dex_file) const {
- MethodReference method_ref(&dex_file, method_idx);
- const VerifiedMethod* verified_method = GetVerificationResults()->GetVerifiedMethod(method_ref);
- return (verified_method != nullptr) && !verified_method->HasVerificationFailures();
-}
-
size_t CompilerDriver::GetNonRelativeLinkerPatchCount() const {
MutexLock mu(Thread::Current(), compiled_methods_lock_);
return non_relative_linker_patch_count_;