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
diff --git a/src/compiler/driver/compiler_driver.cc b/src/compiler/driver/compiler_driver.cc
index f08e629..9595ad9 100644
--- a/src/compiler/driver/compiler_driver.cc
+++ b/src/compiler/driver/compiler_driver.cc
@@ -1216,7 +1216,7 @@
     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 "