Skip to content

Commit cda36bf

Browse files
committed
src: use correct variable in node_builtins.cc
PR-URL: #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 adc1601 commit cda36bf

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
@@ -586,13 +586,13 @@ void BuiltinLoader::GetCacheUsage(const FunctionCallbackInfo<Value>& args) {
586586
}
587587

588588
if (!ToV8Value(context, realm->builtins_in_snapshot)
589-
.ToLocal(&builtins_without_cache_js)) {
589+
.ToLocal(&builtins_in_snapshot_js)) {
590590
return;
591591
}
592592
if (result
593593
->Set(context,
594594
OneByteString(isolate, "compiledInSnapshot"),
595-
builtins_without_cache_js)
595+
builtins_in_snapshot_js)
596596
.IsNothing()) {
597597
return;
598598
}

0 commit comments

Comments
 (0)