Index: src/snapshot/serialize.cc |
diff --git a/src/snapshot/serialize.cc b/src/snapshot/serialize.cc |
index fe33c3e8b2d71e86aa6322ab5ff69700baa7b298..66c47195ed2779d727da0350ac584b6ab464455a 100644 |
--- a/src/snapshot/serialize.cc |
+++ b/src/snapshot/serialize.cc |
@@ -617,8 +617,8 @@ MaybeHandle<Object> Deserializer::DeserializePartial( |
Object* root; |
Object* outdated_contexts; |
VisitPointer(&root); |
- VisitPointer(&outdated_contexts); |
DeserializeDeferredObjects(); |
+ VisitPointer(&outdated_contexts); |
// There's no code deserialized here. If this assert fires then that's |
// changed and logging should be added to notify the profiler et al of the |
@@ -1395,8 +1395,8 @@ void PartialSerializer::Serialize(Object** o) { |
back_reference_map()->AddGlobalProxy(context->global_proxy()); |
} |
VisitPointer(o); |
- SerializeOutdatedContextsAsFixedArray(); |
SerializeDeferredObjects(); |
+ SerializeOutdatedContextsAsFixedArray(); |
Pad(); |
} |