summaryrefslogtreecommitdiff
path: root/tools/generate_code_cache.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/generate_code_cache.js')
-rw-r--r--tools/generate_code_cache.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/generate_code_cache.js b/tools/generate_code_cache.js
index 35411bc5af..9609d77c2a 100644
--- a/tools/generate_code_cache.js
+++ b/tools/generate_code_cache.js
@@ -8,8 +8,8 @@
// of `configure`.
const {
- getCodeCache,
getSource,
+ getCodeCache,
cachableBuiltins
} = require('internal/bootstrap/cache');
@@ -118,6 +118,8 @@ namespace node {
${cacheDefinitions.join('\n\n')}
+const bool native_module_has_code_cache = true;
+
// The target here will be returned as \`internalBinding('code_cache')\`
void DefineCodeCache(Environment* env, v8::Local<v8::Object> target) {
v8::Isolate* isolate = env->isolate();