mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
src: use correct variable in node_builtins.cc
PR-URL: https://github.com/nodejs/node/pull/47343 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
1 parent
e88e249838
commit
f6aa38dc5f
1 file changed
+2
-2
@@ -560,13 +560,13 @@ void BuiltinLoader::GetCacheUsage(const FunctionCallbackInfo<Value>& args) {
|
||||
}
|
||||
|
||||
if (!ToV8Value(context, env->builtins_in_snapshot)
|
||||
.ToLocal(&builtins_without_cache_js)) {
|
||||
.ToLocal(&builtins_in_snapshot_js)) {
|
||||
return;
|
||||
}
|
||||
if (result
|
||||
->Set(env->context(),
|
||||
OneByteString(isolate, "compiledInSnapshot"),
|
||||
builtins_without_cache_js)
|
||||
builtins_in_snapshot_js)
|
||||
.IsNothing()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user