summaryrefslogtreecommitdiff
path: root/src/node_code_cache_stub.cc
blob: 2dd6d8beb9e17e028d003be3f3939a499b2c4f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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