mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
This commit removes the reference to tools/generate_code_cache.js and replaces it with a note about more information being available in tools/code_cache/README.md. PR-URL: https://github.com/nodejs/node/pull/33825 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com>
23 lines
752 B
C++
23 lines
752 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_native_module_env.h"
|
|
|
|
// The stub here is used when configure is run without `--code-cache-path`.
|
|
// When --code-cache-path is set this stub will not be used and instead
|
|
// an implementation will be generated. See tools/code_cache/README.md for
|
|
// more information.
|
|
|
|
namespace node {
|
|
namespace native_module {
|
|
|
|
const bool has_code_cache = false;
|
|
|
|
// The generated source code would insert <std::string, UnionString> pairs
|
|
// into NativeModuleLoader::instance.code_cache_.
|
|
void NativeModuleEnv::InitializeCodeCache() {}
|
|
|
|
} // namespace native_module
|
|
} // namespace node
|