summaryrefslogtreecommitdiff
path: root/src/node_code_cache_stub.cc
blob: 3e9e5960c1bebe3004f051e6a872b2760edc6e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#include "node_code_cache.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 {
void DefineCodeCache(Environment* env, v8::Local<v8::Object> target) {
  // When we do not produce code cache for builtin modules,
  // `internalBinding('code_cache')` returns an empty object
  // (here as `target`) so this is a noop.
}

}  // namespace node