@@ -330,6 +330,11 @@ void IsolateData::DeserializeProperties(const IsolateDataSerializeInfo* info) {
330
330
size_t i = 0 ;
331
331
HandleScope handle_scope (isolate_);
332
332
333
+ if (per_process::enabled_debug_list.enabled (DebugCategory::MKSNAPSHOT)) {
334
+ fprintf (stderr, " deserializing IsolateDataSerializeInfo...\n " );
335
+ std::cerr << *info << " \n " ;
336
+ }
337
+
333
338
#define VP (PropertyName, StringValue ) V(Private, PropertyName)
334
339
#define VY (PropertyName, StringValue ) V(Symbol, PropertyName)
335
340
#define VS (PropertyName, StringValue ) V(String, PropertyName)
@@ -1648,6 +1653,11 @@ void Environment::RunDeserializeRequests() {
1648
1653
void Environment::DeserializeProperties (const EnvSerializeInfo* info) {
1649
1654
Local<Context> ctx = context ();
1650
1655
1656
+ if (enabled_debug_list_.enabled (DebugCategory::MKSNAPSHOT)) {
1657
+ fprintf (stderr, " deserializing EnvSerializeInfo...\n " );
1658
+ std::cerr << *info << " \n " ;
1659
+ }
1660
+
1651
1661
RunDeserializeRequests ();
1652
1662
1653
1663
builtins_in_snapshot = info->builtins ;
@@ -1661,11 +1671,6 @@ void Environment::DeserializeProperties(const EnvSerializeInfo* info) {
1661
1671
should_abort_on_uncaught_toggle_.Deserialize (ctx);
1662
1672
1663
1673
principal_realm_->DeserializeProperties (&info->principal_realm );
1664
-
1665
- if (enabled_debug_list_.enabled (DebugCategory::MKSNAPSHOT)) {
1666
- fprintf (stderr, " deserializing...\n " );
1667
- std::cerr << *info << " \n " ;
1668
- }
1669
1674
}
1670
1675
1671
1676
uint64_t GuessMemoryAvailableToTheProcess () {
0 commit comments