| Index: src/snapshot/serialize.h
|
| diff --git a/src/snapshot/serialize.h b/src/snapshot/serialize.h
|
| index e790062913789df177dd16ffc6620c839cee3bef..a769bc8e6d89613514a65a83d09e2fc42772070b 100644
|
| --- a/src/snapshot/serialize.h
|
| +++ b/src/snapshot/serialize.h
|
| @@ -572,6 +572,14 @@ class Deserializer: public SerializerDeserializer {
|
| memcpy(dest, src, sizeof(*src));
|
| }
|
|
|
| + void SetAlignment(byte data) {
|
| + DCHECK_EQ(kWordAligned, next_alignment_);
|
| + int alignment = data - (kAlignmentPrefix - 1);
|
| + DCHECK_LE(kWordAligned, alignment);
|
| + DCHECK_LE(alignment, kSimd128Unaligned);
|
| + next_alignment_ = static_cast<AllocationAlignment>(alignment);
|
| + }
|
| +
|
| void DeserializeDeferredObjects();
|
|
|
| void FlushICacheForNewIsolate();
|
|
|