Index: src/snapshot/partial-serializer.cc |
diff --git a/src/snapshot/partial-serializer.cc b/src/snapshot/partial-serializer.cc |
index bea476dcbb9c2ffb1c2d51041c8bcd145e5b114b..e89f44f6e2c717ec5bf6cf526c63386af5f85f86 100644 |
--- a/src/snapshot/partial-serializer.cc |
+++ b/src/snapshot/partial-serializer.cc |
@@ -118,6 +118,7 @@ bool PartialSerializer::ShouldBeInThePartialSnapshotCache(HeapObject* o) { |
DCHECK(!o->IsScript()); |
return o->IsName() || o->IsSharedFunctionInfo() || o->IsHeapNumber() || |
o->IsCode() || o->IsScopeInfo() || o->IsAccessorInfo() || |
+ o->IsTemplateInfo() || |
o->map() == |
startup_serializer_->isolate()->heap()->fixed_cow_array_map(); |
} |