Skip to content

Commit f6aa38d

Browse files
targosMoLow
authored andcommitted
src: use correct variable in node_builtins.cc
PR-URL: nodejs#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>
1 parent e88e249 commit f6aa38d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_builtins.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -560,13 +560,13 @@ void BuiltinLoader::GetCacheUsage(const FunctionCallbackInfo<Value>& args) {
560560
}
561561

562562
if (!ToV8Value(context, env->builtins_in_snapshot)
563-
.ToLocal(&builtins_without_cache_js)) {
563+
.ToLocal(&builtins_in_snapshot_js)) {
564564
return;
565565
}
566566
if (result
567567
->Set(env->context(),
568568
OneByteString(isolate, "compiledInSnapshot"),
569-
builtins_without_cache_js)
569+
builtins_in_snapshot_js)
570570
.IsNothing()) {
571571
return;
572572
}

0 commit comments

Comments
 (0)