| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e668efa commit e1007ff
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -261,9 +261,6 @@ bool BuiltinLoader::Add(const char* id, std::string_view utf8source) { | |||
| 261 | 261 | return Add(id, UnionBytes(out)); | |
| 262 | 262 | } | |
| 263 | 263 | ||
| 264 | - // Returns Local<Function> of the compiled module if return_code_cache | ||
| 265 | - // is false (we are only compiling the function). | ||
| 266 | - // Otherwise return a Local<Object> containing the cache. | ||
| 267 | 264 | MaybeLocal<Function> BuiltinLoader::LookupAndCompileInternal( | |
| 268 | 265 | Local<Context> context, | |
| 269 | 266 | const char* id, | |
@@ -368,11 +365,9 @@ MaybeLocal<Function> BuiltinLoader::LookupAndCompileInternal( | |||
| 368 | 365 | return scope.Escape(fun); | |
| 369 | 366 | } | |
| 370 | 367 | ||
| 371 | - // Returns Local<Function> of the compiled module if return_code_cache | ||
| 372 | - // is false (we are only compiling the function). | ||
| 373 | - // Otherwise return a Local<Object> containing the cache. | ||
| 374 | - MaybeLocal<Function> BuiltinLoader::LookupAndCompile( | ||
| 375 | - Local<Context> context, const char* id, Environment* optional_env) { | ||
| 368 | + MaybeLocal<Function> BuiltinLoader::LookupAndCompile(Local<Context> context, | ||
| 369 | + const char* id, | ||
| 370 | + Environment* optional_env) { | ||
| 376 | 371 | Result result; | |
| 377 | 372 | std::vector<Local<String>> parameters; | |
| 378 | 373 | Isolate* isolate = context->GetIsolate(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments