Skip to content

Commit

Permalink
fix --debug-no-optimize command-line options
Browse files Browse the repository at this point in the history
  • Loading branch information
hlorenzi committed Oct 7, 2023
1 parent 72f877a commit f0e0b54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,10 @@ fn parse_command(
command.opts.debug_iterations |=
parsed.opt_present("debug-iters");

command.opts.optimize_statically_known |=
command.opts.optimize_statically_known &=
!parsed.opt_present("debug-no-optimize-static");

command.opts.optimize_instruction_matching |=
command.opts.optimize_instruction_matching &=
!parsed.opt_present("debug-no-optimize-matcher");

if parsed.opt_present("color")
Expand Down

0 comments on commit f0e0b54

Please sign in to comment.