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