Skip to content

Commit

Permalink
Restore CTry goto d for exception value dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Feb 16, 2024
1 parent 83738b1 commit a956427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/hlopt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ let code_graph (f:fundecl) =
b.bnext <- [goto 0; goto d];
| CTry d ->
b.bend <- i;
b.bnext <- [goto ~tl:((i+1+d)::b.btrap) 0];
b.bnext <- [goto ~tl:((i+1+d)::b.btrap) 0; goto d];
| CThrow ->
b.bend <- i;
match b.btrap with
Expand Down

0 comments on commit a956427

Please sign in to comment.