diff options
Diffstat (limited to 'tools/snapshot/snapshot_builder.cc')
-rw-r--r-- | tools/snapshot/snapshot_builder.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/snapshot/snapshot_builder.cc b/tools/snapshot/snapshot_builder.cc index 7086a98a6c8..36420271110 100644 --- a/tools/snapshot/snapshot_builder.cc +++ b/tools/snapshot/snapshot_builder.cc @@ -130,6 +130,7 @@ std::string SnapshotBuilder::Generate( nullptr, node::EnvironmentFlags::kDefaultFlags, {}); + env->BootstrapInternalLoaders().ToLocalChecked(); if (per_process::enabled_debug_list.enabled(DebugCategory::MKSNAPSHOT)) { env->PrintAllBaseObjects(); printf("Environment = %p\n", env); |