diff options
Diffstat (limited to 'runtime/obj_ptr.h')
-rw-r--r-- | runtime/obj_ptr.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/obj_ptr.h b/runtime/obj_ptr.h index e421d878ff..60e21ab3b5 100644 --- a/runtime/obj_ptr.h +++ b/runtime/obj_ptr.h @@ -156,9 +156,7 @@ class ObjPtr { private: // Trim off high bits of thread local cookie. - ALWAYS_INLINE static uintptr_t TrimCookie(uintptr_t cookie) { - return cookie & kCookieMask; - } + ALWAYS_INLINE static uintptr_t GetCurrentTrimedCookie(); ALWAYS_INLINE uintptr_t GetCookie() const { return reference_ >> kCookieShift; |