diff options
Diffstat (limited to 'runtime/mirror/class-alloc-inl.h')
| -rw-r--r-- | runtime/mirror/class-alloc-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/class-alloc-inl.h b/runtime/mirror/class-alloc-inl.h index 5627b4956e..ed3967b798 100644 --- a/runtime/mirror/class-alloc-inl.h +++ b/runtime/mirror/class-alloc-inl.h @@ -57,7 +57,7 @@ inline ObjPtr<Object> Class::Alloc(Thread* self, gc::AllocatorType allocator_typ break; case Class::AddFinalizer::kNoAddFinalizer: add_finalizer = false; - DCHECK(!kCheckAddFinalizer || !IsFinalizable()); + DCHECK_IMPLIES(kCheckAddFinalizer, !IsFinalizable()); break; } // Note that the `this` pointer may be invalidated after the allocation. |