mirror of
https://github.com/nodejs/node.git
synced 2026-12-05 01:48:45 -05:00
vm: include vm context in the embedded snapshot
Include a minimally initialized contextify context in the embedded snapshot. This paves the way for user-land vm context snapshots. PR-URL: https://github.com/nodejs/node/pull/44252 Refs: https://github.com/nodejs/node/issues/44014 Refs: https://github.com/nodejs/node/issues/37476 Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
1 parent
bce827e5d1
commit
736a04aa13
4 files changed
+45
-11
No files matched your search
@@ -52,6 +52,7 @@ class ContextifyContext {
|
||||
static v8::MaybeLocal<v8::Context> CreateV8Context(
|
||||
v8::Isolate* isolate,
|
||||
v8::Local<v8::ObjectTemplate> object_template,
|
||||
const SnapshotData* snapshot_data,
|
||||
v8::MicrotaskQueue* queue);
|
||||
bool InitializeContext(v8::Local<v8::Context> ctx,
|
||||
Environment* env,
|
||||
|
||||
Reference in new issue
Block a user