mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
In preparation of sharing code cache among different threads - we simply rely on v8 to reject invalid cache, since there isn't any serious consequence when the cache is invalid anyway. PR-URL: https://github.com/nodejs/node/pull/24950 Reviewed-By: Anna Henningsen <anna@addaleax.net>
16 lines
435 B
C++
16 lines
435 B
C++
|
|
#include "node_native_module.h"
|
|
|
|
// This is supposed to be generated by tools/generate_code_cache.js
|
|
// The stub here is used when configure is run without `--code-cache-path`
|
|
|
|
namespace node {
|
|
namespace native_module {
|
|
|
|
// The generated source code would insert <std::string, UnionString> pairs
|
|
// into native_module_loader.code_cache_.
|
|
void NativeModuleLoader::LoadCodeCache() {}
|
|
|
|
} // namespace native_module
|
|
} // namespace node
|