Unverified Commit 30e8b5e2 authored by Joyee Cheung's avatar Joyee Cheung
Browse files

tools: refactor snapshot builder

This patch:

- Moves the snapshot building code to src/ so that we can reuse it
  later when generating custom snapshots from an entry point accepted
  by the node binary.
- Create a SnapshotData struct that incorporates all the data useful
  for a snapshot blob, including both the V8 data and the Node.js
  data.

PR-URL: https://github.com/nodejs/node/pull/38902


Reviewed-By: default avatarChengzhong Wu <legendecas@gmail.com>
parent f461158f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment