Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index 0b07e1f09b132f347406b3d3cc4d95d81681749c..020a744fc0ea3f8e78acb9ce3fbfb36027dd0861 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -620,7 +620,8 @@ class PartialSerializer : public Serializer { |
return o->IsName() || o->IsSharedFunctionInfo() || |
o->IsHeapNumber() || o->IsCode() || |
o->IsScopeInfo() || |
- o->map() == HEAP->fixed_cow_array_map(); |
+ o->map() == |
+ startup_serializer_->isolate()->heap()->fixed_cow_array_map(); |
} |
private: |