Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: src/snapshot/serialize.cc

Issue 1210503002: Version 4.3.61.32 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.3
Patch Set: fix test Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8-version.h ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/serialize.cc
diff --git a/src/snapshot/serialize.cc b/src/snapshot/serialize.cc
index 5f825044a19c4b64928241cf4d964587e916657a..c49c75b1c110d4012434c02a72a202b819185cfd 100644
--- a/src/snapshot/serialize.cc
+++ b/src/snapshot/serialize.cc
@@ -622,8 +622,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
@@ -1331,8 +1331,8 @@ void PartialSerializer::Serialize(Object** o) {
back_reference_map()->AddGlobalProxy(context->global_proxy());
}
VisitPointer(o);
- SerializeOutdatedContextsAsFixedArray();
SerializeDeferredObjects();
+ SerializeOutdatedContextsAsFixedArray();
Pad();
}
« no previous file with comments | « include/v8-version.h ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698