summaryrefslogtreecommitdiff
path: root/src/node_code_cache_stub.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_code_cache_stub.cc')
-rw-r--r--src/node_code_cache_stub.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node_code_cache_stub.cc b/src/node_code_cache_stub.cc
index 35780e13f0..2fb86c5bf7 100644
--- a/src/node_code_cache_stub.cc
+++ b/src/node_code_cache_stub.cc
@@ -5,6 +5,9 @@
// The stub here is used when configure is run without `--code-cache-path`
namespace node {
+
+const bool native_module_has_code_cache = false;
+
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