summaryrefslogtreecommitdiff
path: root/compiler/Translate.ml
diff options
context:
space:
mode:
authorSon Ho2022-12-14 11:03:12 +0100
committerSon HO2023-02-03 11:21:46 +0100
commit47417ab258f9d192f4d872c6bea8096348802aa3 (patch)
tree3a377f39455429855d28e8c9bdd4cb800147298c /compiler/Translate.ml
parenta5d09658b0c15862b609226d18f072c5d9f1e953 (diff)
Add an SCC.ml file for strongly connected components
Diffstat (limited to '')
-rw-r--r--compiler/Translate.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/Translate.ml b/compiler/Translate.ml
index f34231e0..dd3ba976 100644
--- a/compiler/Translate.ml
+++ b/compiler/Translate.ml
@@ -116,6 +116,8 @@ let translate_function_to_pure (trans_ctx : trans_ctx)
(* Empty for now *)
calls;
abstractions;
+ loop_id = None;
+ inside_loop = false;
}
in