Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 5e476f66a64d5c0348be4089e3b31b655ea008a5..2a27dbc002a1b4d536fa4c2c0a0f283a86c2a0ee 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -696,8 +696,7 @@ |
DEFINE_OPERATORS_FOR_FLAGS(MemoryChunk::Flags) |
-static_assert(kMaxRegularHeapObjectSize <= MemoryChunk::kAllocatableMemory, |
- "kMaxRegularHeapObjectSize <= MemoryChunk::kAllocatableMemory"); |
+STATIC_ASSERT(kMaxRegularHeapObjectSize < MemoryChunk::kAllocatableMemory); |
// ----------------------------------------------------------------------------- |
// A page is a memory chunk of a size 1MB. Large object pages may be larger. |