Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index d1b668d13b3cc7719fe071f8777f4ad2ba349b49..80be50da5ea0e5305863bb6747d0f5c79ead61bd 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -536,7 +536,8 @@ class PartialSerializer : public Serializer { |
// would cause dupes. |
ASSERT(!o->IsScript()); |
return o->IsString() || o->IsSharedFunctionInfo() || |
- o->IsHeapNumber() || o->IsCode(); |
+ o->IsHeapNumber() || o->IsCode() || |
+ o->map() == Heap::fixed_cow_array_map(); |
} |
private: |