From f90889e5ee19e0ddcd9c1dbcce98720e417dd83e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 20 Feb 2024 16:29:57 -0500 Subject: perf(jsr): fast check cache and lazy fast check graph (#22485) --- cli/tools/compile.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tools/compile.rs') diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs index 70baed669..0a5e75f9a 100644 --- a/cli/tools/compile.rs +++ b/cli/tools/compile.rs @@ -24,7 +24,7 @@ pub async fn compile( ) -> Result<(), AnyError> { let factory = CliFactory::from_flags(flags).await?; let cli_options = factory.cli_options(); - let module_graph_builder = factory.module_graph_builder().await?; + let module_graph_creator = factory.module_graph_creator().await?; let parsed_source_cache = factory.parsed_source_cache(); let binary_writer = factory.create_compile_binary_writer().await?; let module_specifier = cli_options.resolve_main_module()?; @@ -56,7 +56,7 @@ pub async fn compile( .await?; let graph = Arc::try_unwrap( - module_graph_builder + module_graph_creator .create_graph_and_maybe_check(module_roots.clone()) .await?, ) @@ -65,7 +65,7 @@ pub async fn compile( // In this case, the previous graph creation did type checking, which will // create a module graph with types information in it. We don't want to // store that in the eszip so create a code only module graph from scratch. - module_graph_builder + module_graph_creator .create_graph(GraphKind::CodeOnly, module_roots) .await? } else { -- cgit v1.2.3