Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index e5664ff39c35c101b47e3d15b9c7c9a54f28398a..a6099afc23f397fdcfedea0781cca8c7767c5ec2 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -613,7 +613,7 @@ class PartialSerializer : public Serializer { |
// unique ID, and deserializing several partial snapshots containing script |
// would cause dupes. |
ASSERT(!o->IsScript()); |
- return o->IsString() || o->IsSharedFunctionInfo() || |
+ return o->IsName() || o->IsSharedFunctionInfo() || |
o->IsHeapNumber() || o->IsCode() || |
o->IsScopeInfo() || |
o->map() == HEAP->fixed_cow_array_map(); |