Skip to content

Commit

Permalink
tools: replace reference to NodeMainInstance with SnapshotBuilder
Browse files Browse the repository at this point in the history
Small documentation update from
`node::NodeMainInstance::GetEmbeddedSnapshotData`
to `node::SnapshotBuilder::GetEmbeddedSnapshotData`.

PR-URL: #53544
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
  • Loading branch information
codediverdev authored and marco-ippolito committed Aug 19, 2024
1 parent 3d8721f commit 8404421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/snapshot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In the default build of the Node.js executable, to embed a V8 startup snapshot
into the Node.js executable, `libnode` is first built with these unresolved
symbols:

- `node::NodeMainInstance::GetEmbeddedSnapshotData`
- `node::SnapshotBuilder::GetEmbeddedSnapshotData`

Then the `node_mksnapshot` executable is built with C++ files in this
directory, as well as `src/node_snapshot_stub.cc` which defines the unresolved
Expand Down

0 comments on commit 8404421

Please sign in to comment.