diff --git a/src/node_builtins.cc b/src/node_builtins.cc index 40d9025746d3c3..0919f77e71b6b5 100644 --- a/src/node_builtins.cc +++ b/src/node_builtins.cc @@ -261,9 +261,6 @@ bool BuiltinLoader::Add(const char* id, std::string_view utf8source) { return Add(id, UnionBytes(out)); } -// Returns Local of the compiled module if return_code_cache -// is false (we are only compiling the function). -// Otherwise return a Local containing the cache. MaybeLocal BuiltinLoader::LookupAndCompileInternal( Local context, const char* id, @@ -368,11 +365,9 @@ MaybeLocal BuiltinLoader::LookupAndCompileInternal( return scope.Escape(fun); } -// Returns Local of the compiled module if return_code_cache -// is false (we are only compiling the function). -// Otherwise return a Local containing the cache. -MaybeLocal BuiltinLoader::LookupAndCompile( - Local context, const char* id, Environment* optional_env) { +MaybeLocal BuiltinLoader::LookupAndCompile(Local context, + const char* id, + Environment* optional_env) { Result result; std::vector> parameters; Isolate* isolate = context->GetIsolate();