@@ -378,8 +378,8 @@ def acorn_optimizer(filename, passes, extra_info=None, return_output=False, work
378
378
if settings .VERBOSE :
379
379
cmd += ['--verbose' ]
380
380
if return_output :
381
- shared .print_compiler_stage (cmd )
382
381
if shared .SKIP_SUBPROCS :
382
+ shared .print_compiler_stage (cmd )
383
383
return ''
384
384
return check_call (cmd , stdout = PIPE ).stdout
385
385
@@ -390,8 +390,8 @@ def acorn_optimizer(filename, passes, extra_info=None, return_output=False, work
390
390
output_file = basename + '.jso%d.js' % acorn_optimizer .counter
391
391
shared .get_temp_files ().note (output_file )
392
392
cmd += ['-o' , output_file ]
393
- shared .print_compiler_stage (cmd )
394
393
if shared .SKIP_SUBPROCS :
394
+ shared .print_compiler_stage (cmd )
395
395
return output_file
396
396
check_call (cmd )
397
397
save_intermediate (output_file , '%s.js' % passes [0 ])
@@ -1245,8 +1245,8 @@ def run_binaryen_command(tool, infile, outfile=None, args=None, debug=False, std
1245
1245
if settings .GENERATE_SOURCE_MAP and outfile and tool in ['wasm-opt' , 'wasm-emscripten-finalize' , 'wasm-metadce' ]:
1246
1246
cmd += [f'--input-source-map={ infile } .map' ]
1247
1247
cmd += [f'--output-source-map={ outfile } .map' ]
1248
- shared .print_compiler_stage (cmd )
1249
1248
if shared .SKIP_SUBPROCS :
1249
+ shared .print_compiler_stage (cmd )
1250
1250
return ''
1251
1251
ret = check_call (cmd , stdout = stdout ).stdout
1252
1252
if outfile :
0 commit comments