Index: src/snapshot/serializer.cc |
diff --git a/src/snapshot/serializer.cc b/src/snapshot/serializer.cc |
index 9abf427237458d4e83368b9a1e2ed3935b53e4a3..d7a7f8927851dbd2d1bcb80a231c583ce0615099 100644 |
--- a/src/snapshot/serializer.cc |
+++ b/src/snapshot/serializer.cc |
@@ -248,6 +248,7 @@ void Serializer::PutAttachedReference(SerializerReference reference, |
DCHECK(reference.is_attached_reference()); |
DCHECK((how_to_code == kPlain && where_to_point == kStartOfObject) || |
(how_to_code == kPlain && where_to_point == kInnerPointer) || |
+ (how_to_code == kFromCode && where_to_point == kStartOfObject) || |
(how_to_code == kFromCode && where_to_point == kInnerPointer)); |
sink_.Put(kAttachedReference + how_to_code + where_to_point, "AttachedRef"); |
sink_.PutInt(reference.attached_reference_index(), "AttachedRefIndex"); |