File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,12 @@ struct
113113 let rec assign_to_global_wrapper (ask :Queries.ask ) getg sideg st lv f =
114114 match lv with
115115 | (Var v , NoOffset) when AD. varinfo_tracked v ->
116- if not v.vglob && not (ThreadEscape. has_escaped ask v) then
117- ( if ask.f (Queries. IsMultiple v) then
116+ if not v.vglob && not (ThreadEscape. has_escaped ask v) then (
117+ if ask.f (Queries. IsMultiple v) then
118118 {st with apr = AD. join (f st v) st.apr}
119- else
120- {st with apr = f st v})
119+ else
120+ {st with apr = f st v}
121+ )
121122 else (
122123 let v_out = Goblintutil. create_var @@ makeVarinfo false (v.vname ^ " #out" ) v.vtype in (* temporary local g#out for global g *)
123124 let st = {st with apr = AD. add_vars st.apr [V. local v_out]} in (* add temporary g#out *)
You can’t perform that action at this time.
0 commit comments