Index: src/snapshot/deserializer.cc |
diff --git a/src/snapshot/deserializer.cc b/src/snapshot/deserializer.cc |
index ec755b596e8a99508828deff9127c4dfd3b3bc7d..7a725f8f2b6e6bac1f7870809736748c5876f12a 100644 |
--- a/src/snapshot/deserializer.cc |
+++ b/src/snapshot/deserializer.cc |
@@ -82,6 +82,7 @@ void Deserializer::Deserialize(Isolate* isolate) { |
{ |
DisallowHeapAllocation no_gc; |
+ isolate_->heap()->IterateStrongRoots(this, VISIT_ONLY_STRONG_ROOT_LIST); |
isolate_->heap()->IterateSmiRoots(this); |
isolate_->heap()->IterateStrongRoots(this, VISIT_ONLY_STRONG); |
isolate_->heap()->RepairFreeListsAfterDeserialization(); |