summaryrefslogtreecommitdiff
path: root/compiler/dex/verification_results.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/dex/verification_results.cc')
-rw-r--r--compiler/dex/verification_results.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/dex/verification_results.cc b/compiler/dex/verification_results.cc
index 60d24068b1..4daed67784 100644
--- a/compiler/dex/verification_results.cc
+++ b/compiler/dex/verification_results.cc
@@ -57,8 +57,8 @@ bool VerificationResults::ProcessVerifiedMethod(verifier::MethodVerifier* method
const VerifiedMethod* verified_method = VerifiedMethod::Create(method_verifier, compile);
if (verified_method == nullptr) {
- DCHECK(method_verifier->HasFailures());
- return false;
+ // Do not report an error to the verifier. We'll just punt this later.
+ return true;
}
WriterMutexLock mu(Thread::Current(), verified_methods_lock_);