summaryrefslogtreecommitdiff
path: root/compiler/PureMicroPasses.ml
diff options
context:
space:
mode:
authorSon Ho2022-10-27 18:17:41 +0200
committerSon HO2022-10-28 17:41:04 +0200
commitcdaa37670587dadda92ddab076170eb6d8e237cd (patch)
tree4b19c44471774279bacdd55d4cc69665241351fd /compiler/PureMicroPasses.ml
parente286c339cf40c6fa4fee2b910af47ffcc34613fe (diff)
Take care of some TODOs
Diffstat (limited to 'compiler/PureMicroPasses.ml')
-rw-r--r--compiler/PureMicroPasses.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/PureMicroPasses.ml b/compiler/PureMicroPasses.ml
index 81879883..9899cfcf 100644
--- a/compiler/PureMicroPasses.ml
+++ b/compiler/PureMicroPasses.ml
@@ -707,7 +707,7 @@ let expression_contains_child_call_in_all_paths (ctx : trans_ctx)
in
(* Compute the set of ancestors of the function in call1 *)
let call1_ancestors =
- LlbcAstUtils.list_parent_region_groups sg rg_id1
+ LlbcAstUtils.list_ancestor_region_groups sg rg_id1
in
(* Check if the function used in call0 is inside *)
T.RegionGroupId.Set.mem rg_id0 call1_ancestors