diff --git a/src/node_builtins.cc b/src/node_builtins.cc index 776ac8f2358aca..33f44a1becd982 100644 --- a/src/node_builtins.cc +++ b/src/node_builtins.cc @@ -586,13 +586,13 @@ void BuiltinLoader::GetCacheUsage(const FunctionCallbackInfo& args) { } if (!ToV8Value(context, realm->builtins_in_snapshot) - .ToLocal(&builtins_without_cache_js)) { + .ToLocal(&builtins_in_snapshot_js)) { return; } if (result ->Set(context, OneByteString(isolate, "compiledInSnapshot"), - builtins_without_cache_js) + builtins_in_snapshot_js) .IsNothing()) { return; }