Skip to content

Commit

Permalink
src: use correct variable in node_builtins.cc
Browse files Browse the repository at this point in the history
PR-URL: nodejs#47343
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
  • Loading branch information
targos authored and MoLow committed Jul 6, 2023
1 parent e88e249 commit f6aa38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_builtins.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f6aa38d

Please sign in to comment.