diff options
author | 2016-03-29 02:31:16 +0000 | |
---|---|---|
committer | 2016-03-29 02:31:16 +0000 | |
commit | fedcd0a6870cf4d940d231f6725ca95c590d04bd (patch) | |
tree | d3349f074ec80e18f37cc48cf8bbd0a6384128f4 /runtime/class_linker.cc | |
parent | ef94b5484a75902404e975cba55a7e825941b2fa (diff) | |
parent | 7fe30233d32a872f5349e921dba65bd767ad994b (diff) |
Merge "ART: Make verifier fail log level adjustable"
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 99e38d9fcf..f2c2f03003 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -3750,7 +3750,7 @@ bool ClassLinker::AttemptSupertypeVerification(Thread* self, return false; } -void ClassLinker::VerifyClass(Thread* self, Handle<mirror::Class> klass) { +void ClassLinker::VerifyClass(Thread* self, Handle<mirror::Class> klass, LogSeverity log_level) { // TODO: assert that the monitor on the Class is held ObjectLock<mirror::Class> lock(self, klass); @@ -3853,7 +3853,7 @@ void ClassLinker::VerifyClass(Thread* self, Handle<mirror::Class> klass) { klass.Get(), runtime->GetCompilerCallbacks(), runtime->IsAotCompiler(), - runtime->IsAotCompiler(), + log_level, &error_msg); } if (preverified || verifier_failure != verifier::MethodVerifier::kHardFailure) { |