9898 let all_deps_of_entry =
9999 self . collect_all_deps ( & ctx. graph , entry_id, & mut Default :: default ( ) ) ;
100100
101- tracing:: debug!( "Merging dependencies: {:?}" , all_deps_of_entry) ;
102101
103102 let deps = all_deps_of_entry. iter ( ) . map ( |id| {
104103 let dep_info = self . scope . get_module ( * id) . unwrap ( ) ;
@@ -438,14 +437,11 @@ where
438437 }
439438
440439 fn finalize_merging_of_entry ( & self , ctx : & Ctx , id : ModuleId , entry : & mut Modules ) {
441- tracing:: trace!( "All modules are merged" ) ;
442440
443- tracing:: debug!( "Injecting reexports" ) ;
444441 self . inject_reexports ( ctx, id, entry) ;
445442
446443 // entry.print(&self.cm, "before inline");
447444
448- tracing:: debug!( "Inlining injected variables" ) ;
449445
450446 inline ( self . injected_ctxt , entry) ;
451447
@@ -495,7 +491,6 @@ where
495491 true
496492 } ) ;
497493
498- tracing:: debug!( "Renaming keywords" ) ;
499494
500495 entry. visit_mut_with ( & mut KeywordRenamer :: default ( ) ) ;
501496
@@ -511,10 +506,8 @@ where
511506
512507 /// Remove exports with wrong syntax context
513508 fn remove_wrong_exports ( & self , ctx : & Ctx , info : & TransformedModule , module : & mut Modules ) {
514- tracing:: debug!( "Removing wrong exports" ) ;
515509
516510 let item_count = module. iter ( ) . count ( ) ;
517- tracing:: trace!( "Item count = {}" , item_count) ;
518511
519512 module. retain_mut ( |_, item| {
520513 if let ModuleItem :: ModuleDecl ( ModuleDecl :: ExportNamed ( NamedExport {
@@ -552,7 +545,6 @@ where
552545 true
553546 } ) ;
554547
555- tracing:: debug!( "Removed wrong exports" ) ;
556548 }
557549
558550 /// This method handles imports and exports.
@@ -779,10 +771,6 @@ where
779771 }
780772
781773 // Create `export { local_default as default }`
782- tracing:: trace!(
783- "Exporting `default` with `export default decl` ({})" ,
784- local. sym
785- ) ;
786774
787775 let exported = Ident :: new ( atom ! ( "default" ) , DUMMY_SP , info. export_ctxt ( ) ) ;
788776
@@ -851,7 +839,6 @@ where
851839 exported : Some ( ModuleExportName :: Ident ( exported) ) ,
852840 is_type_only : false ,
853841 } ) ;
854- tracing:: trace!( "Exporting `default` with `export default expr`" ) ;
855842 extra. push (
856843 NamedExport {
857844 span : export. span ,
@@ -904,11 +891,6 @@ where
904891 info. export_ctxt ( ) ,
905892 ) ;
906893
907- tracing:: trace!(
908- "Exporting `{}{:?}` with `export decl`" ,
909- id. sym,
910- id. ctxt
911- ) ;
912894
913895 new. push (
914896 id. clone ( )
@@ -952,10 +934,6 @@ where
952934 _ => panic ! ( "unable to access unknown nodes" ) ,
953935 } ;
954936
955- tracing:: trace!(
956- "Exporting `default` with `export default decl` ({})" ,
957- local. sym
958- ) ;
959937
960938 // Create `export { local_ident as exported_ident }`
961939 let exported =
0 commit comments