summaryrefslogtreecommitdiff
path: root/src/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Jeff Hao <jeffhao@google.com> 2013-04-16 14:23:47 -0700
committer Jeff Hao <jeffhao@google.com> 2013-04-16 14:41:14 -0700
commitee9889502a34a08741a6f8ecc02917202de9d773 (patch)
treecdcfd55a15efe64b9acc14c9f0ab7d901f5a07c9 /src/compiler/driver/compiler_driver.cc
parent3e13ae7b85cc559f72bde6d2a3de61b9792f7de5 (diff)
Add bool to verifier to allow soft failures.
When false, soft failures in the verifier become hard failures. It should only be false when not compiling, and calling the verifier from the class linker. Change-Id: I664e5cbe491784b280aa5bfdb7e7fc0b771814f5
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
-rw-r--r--src/compiler/driver/compiler_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/driver/compiler_driver.cc b/src/compiler/driver/compiler_driver.cc
index f08e6297ef..9595ad9019 100644
--- a/src/compiler/driver/compiler_driver.cc
+++ b/src/compiler/driver/compiler_driver.cc
@@ -1216,7 +1216,7 @@ static void VerifyClass(const ParallelCompilationManager* manager, size_t class_
if (verifier::MethodVerifier::VerifyClass(manager->GetDexFile(),
dex_cache,
soa.Decode<mirror::ClassLoader*>(manager->GetClassLoader()),
- class_def_index, error_msg) ==
+ class_def_index, error_msg, true) ==
verifier::MethodVerifier::kHardFailure) {
const DexFile::ClassDef& class_def = manager->GetDexFile()->GetClassDef(class_def_index);
LOG(ERROR) << "Verification failed on class "