GeezerVison is showing github.com — src: remove dead comments about return_code_cache · nodejs/node@36a026b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/node_builtins.cc -6Lines changed: 0 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -256,9 +256,6 @@ bool BuiltinLoader::Add(const char* id, std::string_view utf8source) { |
256 | 256 | return Add(id, UnionBytes(out)); |
257 | 257 | } |
258 | 258 |
|
259 | | -// Returns Local<Function> of the compiled module if return_code_cache |
260 | | -// is false (we are only compiling the function). |
261 | | -// Otherwise return a Local<Object> containing the cache. |
262 | 259 | MaybeLocal<Function> BuiltinLoader::LookupAndCompileInternal( |
263 | 260 | Local<Context> context, |
264 | 261 | const char* id, |
@@ -356,9 +353,6 @@ MaybeLocal<Function> BuiltinLoader::LookupAndCompileInternal( |
356 | 353 | return scope.Escape(fun); |
357 | 354 | } |
358 | 355 |
|
359 | | -// Returns Local<Function> of the compiled module if return_code_cache |
360 | | -// is false (we are only compiling the function). |
361 | | -// Otherwise return a Local<Object> containing the cache. |
362 | 356 | MaybeLocal<Function> BuiltinLoader::LookupAndCompile(Local<Context> context, |
363 | 357 | const char* id, |
364 | 358 | Realm* optional_realm) { |
|