Skip to content

Commit

Permalink
misplaced if...
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Jan 22, 2024
1 parent edec597 commit 721ad36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/compiler.ml
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,10 @@ let compile ctx actx callbacks =
filter ctx tctx (fun () -> ());
end;
if ctx.has_error then raise Abort;
Generate.check_auxiliary_output com actx;
if is_compilation com then Generate.check_auxiliary_output com actx;
enter_stage com CGenerationStart;
ServerMessage.compiler_stage com;
if is_compilation com then Generate.maybe_generate_dump ctx tctx;
Generate.maybe_generate_dump ctx tctx;
if not actx.no_output then Generate.generate ctx tctx ext actx;
enter_stage com CGenerationDone;
ServerMessage.compiler_stage com;
Expand Down

0 comments on commit 721ad36

Please sign in to comment.