diff options
Diffstat (limited to 'runtime/obj_ptr-inl.h')
-rw-r--r-- | runtime/obj_ptr-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/obj_ptr-inl.h b/runtime/obj_ptr-inl.h index f0a5f6f2e2..d0be6dc981 100644 --- a/runtime/obj_ptr-inl.h +++ b/runtime/obj_ptr-inl.h @@ -33,7 +33,7 @@ inline bool ObjPtr<MirrorType, kPoison>::IsValid() const { template<class MirrorType, bool kPoison> inline void ObjPtr<MirrorType, kPoison>::AssertValid() const { if (kPoison) { - CHECK(IsValid()) << "Stale object pointer " << Ptr() << " , expected cookie " + CHECK(IsValid()) << "Stale object pointer " << PtrUnchecked() << " , expected cookie " << TrimCookie(Thread::Current()->GetPoisonObjectCookie()) << " but got " << GetCookie(); } } |