Skip to content

Commit

Permalink
Use ask variable instead of Analyses.ask_of_ctx ctx
Browse files Browse the repository at this point in the history
Co-authored-by: Simmo Saan <[email protected]>
  • Loading branch information
karoliineh and sim642 authored Jan 11, 2024
1 parent d39e600 commit d719842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/threadEscape.ml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ struct
let ask = Analyses.ask_of_ctx ctx in
let vs = mpt ask (AddrOf lval) in
if D.exists (fun v -> v.vglob || has_escaped ask v) vs then (
let escaped = escape_rval ctx (Analyses.ask_of_ctx ctx) rval in
let escaped = escape_rval ctx ask rval in
D.join ctx.local escaped
) else begin
ctx.local
Expand Down

0 comments on commit d719842

Please sign in to comment.