summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Igor Murashkin <iam@google.com> 2016-02-04 23:30:13 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-02-04 23:30:13 +0000
commitbd707ab60fa33ec1ba921ee0c7d3b24d70f00a54 (patch)
tree445bb30d2a2dfeede4653d10bbec8017e203cb5b
parenta4e981265dd57adbe755e12a814c0f30ae073c2f (diff)
parent8d1da85822f254f102dfec2903ca7aa0064444af (diff)
Merge "runtime: Cleanup comments for kAccSkipAccessChecks"
-rw-r--r--runtime/mirror/class.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h
index 79adfb65b1..388a231cdc 100644
--- a/runtime/mirror/class.h
+++ b/runtime/mirror/class.h
@@ -287,10 +287,9 @@ class MANAGED Class FINAL : public Object {
return (GetAccessFlags() & kAccSynthetic) != 0;
}
- // Returns true if the class had run the verifier at least once.
+ // Return whether the class had run the verifier at least once.
// This does not necessarily mean that access checks are avoidable,
// since the class methods might still need to be run with access checks.
- // If this bit returns false, then the methods are not to be trusted with skipping access checks.
bool WasVerificationAttempted() SHARED_REQUIRES(Locks::mutator_lock_) {
return (GetAccessFlags() & kAccSkipAccessChecks) != 0;
}