So that the embedded snapshot can be reused by the worker. PR-URL: https://github.com/nodejs/node/pull/42702 Refs: https://github.com/nodejs/node/issues/35711 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
13 lines
327 B
C++
13 lines
327 B
C++
// This file is part of the embedder test, which is intentionally built without
|
|
// NODE_WANT_INTERNALS, so we define it here manually.
|
|
#define NODE_WANT_INTERNALS 1
|
|
|
|
#include "node_snapshot_builder.h"
|
|
|
|
namespace node {
|
|
|
|
const SnapshotData* SnapshotBuilder::GetEmbeddedSnapshotData() {
|
|
return nullptr;
|
|
}
|
|
|
|
} // namespace node
|