Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 5349be7ab6d9d753254e31442e8614fc40727727..f32f1e867e47a983a7d749a1cb7be85557c90805 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -133,8 +133,8 @@ Object* Heap::AllocateRawMap() { |
#ifdef DEBUG |
if (!result->IsFailure()) { |
// Maps have their own alignment. |
- CHECK_EQ(static_cast<intptr_t>(kHeapObjectTag), |
- reinterpret_cast<intptr_t>(result) & kMapAlignmentMask); |
+ CHECK((reinterpret_cast<intptr_t>(result) & kMapAlignmentMask) == |
+ static_cast<intptr_t>(kHeapObjectTag)); |
} |
#endif |
return result; |