Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 876d8d83349081501989392cbed45dfbf2f5ef0a..a7645e25f1ebf512c306dc6120f5b179f5a3dc01 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -267,13 +267,6 @@ MaybeObject* Heap::AllocateRawMap() { |
#endif |
MaybeObject* result = map_space_->AllocateRaw(Map::kSize); |
if (result->IsFailure()) old_gen_exhausted_ = true; |
-#ifdef DEBUG |
- if (!result->IsFailure()) { |
- // Maps have their own alignment. |
- CHECK((reinterpret_cast<intptr_t>(result) & kMapAlignmentMask) == |
- static_cast<intptr_t>(kHeapObjectTag)); |
- } |
-#endif |
return result; |
} |