Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index e247eb2c41c387509bb0777df3d5ace0c7f302ef..d962338198d9b9fb3452f18ea2719aa0d86bea48 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -379,7 +379,7 @@ |
i::SnapshotByteSink context_sink; |
i::PartialSerializer context_ser(internal_isolate, &ser, &context_sink); |
context_ser.Serialize(&raw_context); |
- ser.SerializeWeakReferencesAndDeferred(); |
+ ser.SerializeWeakReferences(); |
result = i::Snapshot::CreateSnapshotBlob(ser, context_ser, metadata); |
} |