Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index 49695ec964271257817d48be7e0703797bdd081a..b598c6ce3fc9fa6263860fd275f2b53288267e43 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -608,7 +608,7 @@ class PartialSerializer : public Serializer { |
ASSERT(!o->IsScript()); |
return o->IsString() || o->IsSharedFunctionInfo() || |
o->IsHeapNumber() || o->IsCode() || |
- o->IsSerializedScopeInfo() || |
+ o->IsScopeInfo() || |
o->map() == HEAP->fixed_cow_array_map(); |
} |