aboutsummaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/node.cc b/src/node.cc
index fb4b5703f8..6ff2493a1f 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -1731,6 +1731,14 @@ static void GetInternalBinding(const FunctionCallbackInfo<Value>& args) {
// internalBinding('code_cache')
exports = Object::New(env->isolate());
DefineCodeCache(env, exports);
+ } else if (!strcmp(*module_v, "code_cache_hash")) {
+ // internalBinding('code_cache_hash')
+ exports = Object::New(env->isolate());
+ DefineCodeCacheHash(env, exports);
+ } else if (!strcmp(*module_v, "natives_hash")) {
+ // internalBinding('natives_hash')
+ exports = Object::New(env->isolate());
+ DefineJavaScriptHash(env, exports);
} else {
return ThrowIfNoSuchModule(env, *module_v);
}