| Index: src/snapshot/serializer.cc
|
| diff --git a/src/snapshot/serializer.cc b/src/snapshot/serializer.cc
|
| index d7a7f8927851dbd2d1bcb80a231c583ce0615099..f622a5b8d24a795d8411f1899085915f03ccb898 100644
|
| --- a/src/snapshot/serializer.cc
|
| +++ b/src/snapshot/serializer.cc
|
| @@ -403,9 +403,8 @@ void Serializer::ObjectSerializer::SerializeExternalString() {
|
| ExternalTwoByteString::cast(string)->resource()->data());
|
| }
|
|
|
| - AllocationSpace space = (allocation_size > Page::kMaxRegularHeapObjectSize)
|
| - ? LO_SPACE
|
| - : OLD_SPACE;
|
| + AllocationSpace space =
|
| + (allocation_size > kMaxRegularHeapObjectSize) ? LO_SPACE : OLD_SPACE;
|
| SerializePrologue(space, allocation_size, map);
|
|
|
| // Output the rest of the imaginary string.
|
|
|