diff options
author | 2016-02-04 00:34:43 +0000 | |
---|---|---|
committer | 2016-02-04 00:34:43 +0000 | |
commit | 867d63b65f653d27dc7ea87e924f47148cec22a7 (patch) | |
tree | 2038bbb25fe121bdcf3653cc32211c6e2cb88936 /compiler/driver/compiler_driver.cc | |
parent | 6006e2ce92fd86fdf028cd7b3afe972815b0e0f3 (diff) | |
parent | df707e406877e9c0426dd051c00933ebb331673e (diff) |
Merge "runtime: Don't skip verification for -Xverify:soft-fail"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 6bc2a13299..f078bf6507 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -2306,9 +2306,9 @@ class SetVerifiedClassVisitor : public CompilationVisitor { mirror::Class::SetStatus(klass, mirror::Class::kStatusVerified, soa.Self()); // Mark methods as pre-verified. If we don't do this, the interpreter will run with // access checks. - klass->SetPreverifiedFlagOnAllMethods( + klass->SetSkipAccessChecksFlagOnAllMethods( GetInstructionSetPointerSize(manager_->GetCompiler()->GetInstructionSet())); - klass->SetPreverified(); + klass->SetVerificationAttempted(); } // Record the final class status if necessary. ClassReference ref(manager_->GetDexFile(), class_def_index); |