Skip to content

Commit

Permalink
CR: Simplification in compiler/lib/effects.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Jérôme Vouillon <[email protected]>
  • Loading branch information
OlivierNicole and vouillon authored Dec 12, 2024
1 parent 399bc41 commit c4e588d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/lib/effects.ml
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,7 @@ let mk_cps_pc_of_direct ~st pc =
then (
try Hashtbl.find st.cps_pc_of_direct pc
with Not_found ->
let new_blocks = st.new_blocks in
let free_pc = st.free_pc in
st.new_blocks <- new_blocks;
st.free_pc <- free_pc + 1;
Hashtbl.add st.cps_pc_of_direct pc free_pc;
free_pc)
Expand Down

0 comments on commit c4e588d

Please sign in to comment.