diff options
| author | 2016-03-30 20:40:15 +0000 | |
|---|---|---|
| committer | 2016-03-30 20:40:16 +0000 | |
| commit | 6d1b2472155335ef4e53af01543f9b208bf98dca (patch) | |
| tree | 455babff6e7354abd8580604a29e25d5a49957ac /compiler/driver/compiler_driver.cc | |
| parent | cbb3251dc8f906c33c884380548c24ecd90a7d94 (diff) | |
| parent | 82e8c1ff6d58e98a52725eeefc6c2407470239d2 (diff) | |
Merge "ART: Resolve all classes even when verify-profile" into nyc-dev
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index ea16cb2662..5c1c92b712 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -833,12 +833,10 @@ void CompilerDriver::PreCompile(jobject class_loader, const bool verification_enabled = compiler_options_->IsVerificationEnabled(); const bool never_verify = compiler_options_->NeverVerify(); - const bool verify_only_profile = compiler_options_->VerifyOnlyProfile(); // We need to resolve for never_verify since it needs to run dex to dex to add the // RETURN_VOID_NO_BARRIER. - // Let the verifier resolve as needed for the verify_only_profile case. - if ((never_verify || verification_enabled) && !verify_only_profile) { + if (never_verify || verification_enabled) { Resolve(class_loader, dex_files, timings); VLOG(compiler) << "Resolve: " << GetMemoryUsageString(false); } |