summaryrefslogtreecommitdiff
path: root/compiler/SymbolicToPure.ml
diff options
context:
space:
mode:
authorSon Ho2022-10-27 09:40:47 +0200
committerSon HO2022-10-27 12:58:47 +0200
commit1e5103b896d5e843e8c40ec600c0215673c79275 (patch)
tree39d4a77052e9dd5f14ab49386e9142fb47249d81 /compiler/SymbolicToPure.ml
parent7e7d0d67de8285e1d6c589750191bce4f49aacb3 (diff)
Update the README and a comment
Diffstat (limited to 'compiler/SymbolicToPure.ml')
-rw-r--r--compiler/SymbolicToPure.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/SymbolicToPure.ml b/compiler/SymbolicToPure.ml
index de4fb4c1..24af578f 100644
--- a/compiler/SymbolicToPure.ml
+++ b/compiler/SymbolicToPure.ml
@@ -29,8 +29,9 @@ type config = {
Also note that in general, backward functions "do more things" than
forward functions, and have more opportunities to fail (even though
- in the generated code, backward functions should fail exactly when
- the forward functions fail).
+ in the generated code, calls to the backward functions should fail
+ exactly when the corresponding, previous call to the forward functions
+ failed).
We might want to move this optimization to the micro-passes subsequent
to the translation from symbolic to pure, but it is really super easy