summaryrefslogtreecommitdiff
path: root/src/main.ml
diff options
context:
space:
mode:
authorSon Ho2022-05-06 10:26:54 +0200
committerSon Ho2022-05-06 10:26:54 +0200
commita593c7638c9c675425a7a03f0981a1f19881be11 (patch)
treef51ac9e58823d2d5a74dca433306d1f8e753f3fb /src/main.ml
parent932d4479aa5c5f6d483e886d37d3c5e73d51c4ff (diff)
Add an option to eagerly end abstractions if a function has return type
unit and the abstractions don't contain loans
Diffstat (limited to 'src/main.ml')
-rw-r--r--src/main.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.ml b/src/main.ml
index 3fb162f3..6b1083f5 100644
--- a/src/main.ml
+++ b/src/main.ml
@@ -159,6 +159,7 @@ let () =
C.check_invariants = not !no_check_inv;
greedy_expand_symbolics_with_borrows = true;
allow_bottom_below_borrow = true;
+ return_unit_end_abs_with_no_loans = true;
}
in