summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
author Igor Murashkin <iam@google.com> 2016-02-04 00:34:43 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-02-04 00:34:43 +0000
commit867d63b65f653d27dc7ea87e924f47148cec22a7 (patch)
tree2038bbb25fe121bdcf3653cc32211c6e2cb88936 /runtime/interpreter/interpreter.cc
parent6006e2ce92fd86fdf028cd7b3afe972815b0e0f3 (diff)
parentdf707e406877e9c0426dd051c00933ebb331673e (diff)
Merge "runtime: Don't skip verification for -Xverify:soft-fail"
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index 3eff7fc69d..0b2471b4c0 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -311,7 +311,7 @@ static inline JValue Execute(Thread* self, const DexFile::CodeItem* code_item,
shadow_frame.GetMethod()->GetDeclaringClass()->AssertInitializedOrInitializingInThread(self);
bool transaction_active = Runtime::Current()->IsActiveTransaction();
- if (LIKELY(shadow_frame.GetMethod()->IsPreverified())) {
+ if (LIKELY(shadow_frame.GetMethod()->SkipAccessChecks())) {
// Enter the "without access check" interpreter.
if (kInterpreterImplKind == kMterpImplKind) {
if (transaction_active) {