Skip to content

Commit 8d6948f

Browse files
Jungku LeeRafaelGSS
Jungku Lee
authored andcommitted
src: remove duplicated code in GenerateSingleExecutableBlob()
PR-URL: #49119 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Deokjin Kim <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent b030004 commit 8d6948f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/node_sea.cc

-7
Original file line numberDiff line numberDiff line change
@@ -486,13 +486,6 @@ ExitCode GenerateSingleExecutableBlob(
486486
}
487487
}
488488

489-
std::optional<std::string> optional_code_cache =
490-
GenerateCodeCache(config.main_path, main_script);
491-
if (!optional_code_cache.has_value()) {
492-
FPrintF(stderr, "Cannot generate V8 code cache\n");
493-
return ExitCode::kGenericUserError;
494-
}
495-
496489
std::optional<std::string_view> optional_sv_code_cache;
497490
std::string code_cache;
498491
if (static_cast<bool>(config.flags & SeaFlags::kUseCodeCache)) {

0 commit comments

Comments
 (0)