| Index: src/spaces.h
|
| diff --git a/src/spaces.h b/src/spaces.h
|
| index 336feb0bcea60789b77e4baa04538909a4377da7..93e247846836423a495bac3848ff1fd4311242f3 100644
|
| --- a/src/spaces.h
|
| +++ b/src/spaces.h
|
| @@ -734,7 +734,7 @@ class MemoryChunk {
|
| };
|
|
|
|
|
| -STATIC_CHECK(sizeof(MemoryChunk) <= MemoryChunk::kHeaderSize);
|
| +STATIC_ASSERT(sizeof(MemoryChunk) <= MemoryChunk::kHeaderSize);
|
|
|
|
|
| // -----------------------------------------------------------------------------
|
| @@ -841,7 +841,7 @@ class Page : public MemoryChunk {
|
| };
|
|
|
|
|
| -STATIC_CHECK(sizeof(Page) <= MemoryChunk::kHeaderSize);
|
| +STATIC_ASSERT(sizeof(Page) <= MemoryChunk::kHeaderSize);
|
|
|
|
|
| class LargePage : public MemoryChunk {
|
| @@ -863,7 +863,7 @@ class LargePage : public MemoryChunk {
|
| friend class MemoryAllocator;
|
| };
|
|
|
| -STATIC_CHECK(sizeof(LargePage) <= MemoryChunk::kHeaderSize);
|
| +STATIC_ASSERT(sizeof(LargePage) <= MemoryChunk::kHeaderSize);
|
|
|
| // ----------------------------------------------------------------------------
|
| // Space is the abstract superclass for all allocation spaces.
|
|
|