File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
crates/swc_ecma_minifier/src/compress/optimize Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -322,8 +322,8 @@ impl Optimizer<'_> {
322322
323323 ident. take ( ) ;
324324 } else if self . options . inline != 0 || self . options . reduce_vars {
325- trace_op ! (
326- "inline: Decided to copy '{}{:?}' because it's simple" ,
325+ report_change ! (
326+ "inline: Decided to inline '{}{:?}' because it's simple" ,
327327 ident. sym,
328328 ident. ctxt
329329 ) ;
@@ -674,10 +674,10 @@ impl Optimizer<'_> {
674674 {
675675 return ;
676676 }
677- trace_op ! (
678- "inline: Decided to inline function ' {}{:?}' as it's very simple" ,
679- f . ident . sym,
680- f . ident . ctxt
677+ report_change ! (
678+ "inline: Decided to inline function ` {}{:?}` as it's very simple" ,
679+ i . sym,
680+ i . ctxt
681681 ) ;
682682
683683 self . vars . inline_with_multi_replacer ( & mut f. function . body ) ;
You can’t perform that action at this time.
0 commit comments