Skip to content

Commit

Permalink
Wrapping push and pop as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevendeo committed Nov 17, 2023
1 parent 3684a35 commit 9eee5e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/frontend/frontend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,9 @@ module Make(SAT : Sat_solver_sig.S) : S with type sat_env = SAT.t = struct
let wrap_f f ?loc env x =
check_step_limit (fun env -> handle_sat_exn f ?loc env x) env

let push = handle_sat_exn internal_push
let push = wrap_f internal_push

let pop = handle_sat_exn internal_pop
let pop = wrap_f internal_pop

let assume = wrap_f internal_assume

Expand Down

0 comments on commit 9eee5e1

Please sign in to comment.