diff options
author | 2015-04-13 14:26:18 +0000 | |
---|---|---|
committer | 2015-04-13 14:26:19 +0000 | |
commit | fc4fb0fdb1d18db2ba8d98e9f41211466ac86fd8 (patch) | |
tree | b25d5be5b8e7320d05f42da549c11cc82d7dbc51 /compiler/optimizing/inliner.cc | |
parent | 9134a1a405d471b0dfbf299ab0d4c2d629778632 (diff) | |
parent | 031af41d1debbdbd8964d7c504a789068dfe6029 (diff) |
Merge "Revert "Fallback to quick in case of soft verification errors""
Diffstat (limited to 'compiler/optimizing/inliner.cc')
-rw-r--r-- | compiler/optimizing/inliner.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc index 65f1ed2978..2c17a67867 100644 --- a/compiler/optimizing/inliner.cc +++ b/compiler/optimizing/inliner.cc @@ -31,8 +31,6 @@ #include "ssa_phi_elimination.h" #include "scoped_thread_state_change.h" #include "thread.h" -#include "dex/verified_method.h" -#include "dex/verification_results.h" namespace art { @@ -116,10 +114,9 @@ bool HInliner::TryInline(HInvoke* invoke_instruction, return false; } - if (compiler_driver_->IsMethodVerifiedWithoutFailures( - method_index, *resolved_method->GetDexFile())) { + if (!resolved_method->GetDeclaringClass()->IsVerified()) { VLOG(compiler) << "Method " << PrettyMethod(method_index, caller_dex_file) - << " has verification failures, so it cannot be inlined"; + << " is not inlined because its class could not be verified"; return false; } |