Skip to content

Commit acd7cfd

Browse files
Fix typos
1 parent 6ba8a85 commit acd7cfd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/analyses/base.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,8 +1100,8 @@ struct
11001100
| `Struct _
11011101
| `Union _ ->
11021102
begin
1103-
let vars_in_paritioning = VD.affecting_vars value in
1104-
let dep_new = List.fold_left (fun dep var -> add_one_dep x var dep) st.deps vars_in_paritioning in
1103+
let vars_in_partitioning = VD.affecting_vars value in
1104+
let dep_new = List.fold_left (fun dep var -> add_one_dep x var dep) st.deps vars_in_partitioning in
11051105
{ st with deps = dep_new }
11061106
end
11071107
(* `List and `Blob cannot contain arrays *)
@@ -1282,7 +1282,7 @@ struct
12821282
{ st with cpa = List.fold_left f st.cpa v_list; deps = List.fold_left g st.deps v_list }
12831283

12841284
(* Removes all partitionings done according to this variable *)
1285-
let rem_many_paritioning a (st:store) (v_list: varinfo list):store =
1285+
let rem_many_partitioning a (st:store) (v_list: varinfo list):store =
12861286
(* Removes the partitioning information from all affected arrays, call before removing locals *)
12871287
let rem_partitioning a (st:store) (x:varinfo):store =
12881288
let affected_arrays =
@@ -1849,7 +1849,7 @@ struct
18491849
Priv.enter_multithreaded (Analyses.ask_of_ctx ctx) (priv_getg ctx.global) (priv_sideg ctx.sideg) st
18501850
| _ ->
18511851
let locals = List.filter (fun v -> not (WeakUpdates.mem v st.weak)) (fundec.sformals @ fundec.slocals) in
1852-
let nst_part = rem_many_paritioning (Analyses.ask_of_ctx ctx) ctx.local locals in
1852+
let nst_part = rem_many_partitioning (Analyses.ask_of_ctx ctx) ctx.local locals in
18531853
let nst: store = rem_many (Analyses.ask_of_ctx ctx) nst_part locals in
18541854
match exp with
18551855
| None -> nst

0 commit comments

Comments
 (0)