Files
node/src/node_code_cache_stub.cc
T
2019-04-22 14:48:50 -04:00

17 lines
485 B
C++

#include "node_native_module_env.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 {
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