diff options
| author | 2017-03-08 10:07:42 +0000 | |
|---|---|---|
| committer | 2017-03-08 10:07:43 +0000 | |
| commit | 742bc41f754e77a528f859babec4dfea179ca96e (patch) | |
| tree | 8a0587040a53b4d42c8aa90350ae93afc91a37d2 /runtime/mirror/class.h | |
| parent | 2ec053fa337c1934ccb803136b56b57bcc06a32f (diff) | |
| parent | 7cc3ae5705416bd8fc4b7096904e2871aa761e73 (diff) | |
Merge "Return the right value in VerifyClass."
Diffstat (limited to 'runtime/mirror/class.h')
| -rw-r--r-- | runtime/mirror/class.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h index d34f09c721..b68eedcb11 100644 --- a/runtime/mirror/class.h +++ b/runtime/mirror/class.h @@ -206,10 +206,10 @@ class MANAGED Class FINAL : public Object { return status >= kStatusResolved || status == kStatusErrorResolved; } - // Returns true if the class was compile-time verified. + // Returns true if the class should be verified at runtime. template<VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags> - bool IsCompileTimeVerified() REQUIRES_SHARED(Locks::mutator_lock_) { - return GetStatus<kVerifyFlags>() >= kStatusRetryVerificationAtRuntime; + bool ShouldVerifyAtRuntime() REQUIRES_SHARED(Locks::mutator_lock_) { + return GetStatus<kVerifyFlags>() == kStatusRetryVerificationAtRuntime; } // Returns true if the class has been verified. |