commit | 14d90579f013b374638b599361970557ed4b3f09 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Thu Jul 16 10:52:26 2015 +0100 |
committer | Roland Levillain <rpl@google.com> | Thu Jul 16 10:52:26 2015 +0100 |
tree | fe8f9f7b527e73c20078557eefd74615c2cfc7f8 | |
parent | 5c03f3698f5e2e0d762e2e15ec00310b6cdab4fe [diff] [blame] |
Use (D)CHECK_ALIGNED more. Change-Id: I9d740f6a88d01e028d4ddc3e4e62b0a73ea050af
diff --git a/runtime/gc/space/bump_pointer_space-inl.h b/runtime/gc/space/bump_pointer_space-inl.h index d9ad9a3..338a41e 100644 --- a/runtime/gc/space/bump_pointer_space-inl.h +++ b/runtime/gc/space/bump_pointer_space-inl.h
@@ -63,7 +63,7 @@ } inline mirror::Object* BumpPointerSpace::AllocNonvirtualWithoutAccounting(size_t num_bytes) { - DCHECK(IsAligned<kAlignment>(num_bytes)); + DCHECK_ALIGNED(num_bytes, kAlignment); uint8_t* old_end; uint8_t* new_end; do {