| Index: src/spaces.h
|
| diff --git a/src/spaces.h b/src/spaces.h
|
| index ca61081ded8ae4f71e8a9cd4b336fb8cb240255a..e3aaf370147e5284676ff2cf99aa36f61b3406e7 100644
|
| --- a/src/spaces.h
|
| +++ b/src/spaces.h
|
| @@ -2659,14 +2659,14 @@ class PropertyCellSpace : public FixedSpace {
|
| // Creates a property cell space object with a maximum capacity.
|
| PropertyCellSpace(Heap* heap, intptr_t max_capacity,
|
| AllocationSpace id)
|
| - : FixedSpace(heap, max_capacity, id, JSGlobalPropertyCell::kSize)
|
| + : FixedSpace(heap, max_capacity, id, PropertyCell::kSize)
|
| {}
|
|
|
| virtual int RoundSizeDownToObjectAlignment(int size) {
|
| - if (IsPowerOf2(JSGlobalPropertyCell::kSize)) {
|
| - return RoundDown(size, JSGlobalPropertyCell::kSize);
|
| + if (IsPowerOf2(PropertyCell::kSize)) {
|
| + return RoundDown(size, PropertyCell::kSize);
|
| } else {
|
| - return (size / JSGlobalPropertyCell::kSize) * JSGlobalPropertyCell::kSize;
|
| + return (size / PropertyCell::kSize) * PropertyCell::kSize;
|
| }
|
| }
|
|
|
|
|