summaryrefslogtreecommitdiff
path: root/src/Values.ml
diff options
context:
space:
mode:
authorSon Ho2022-01-27 11:43:59 +0100
committerSon Ho2022-01-27 11:43:59 +0100
commitb2d5671516b60ae83778b26867a8e5b6060f519d (patch)
tree90aefb82bb32da8671a54543300a0a1155c2d8d7 /src/Values.ml
parent98677400fc27087ab4443094fb94a95412515422 (diff)
Introduce AEndedSharedBorrow so as not to introduce ABottom when
ending shared aborrows
Diffstat (limited to '')
-rw-r--r--src/Values.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Values.ml b/src/Values.ml
index 57d188da..25d354fb 100644
--- a/src/Values.ml
+++ b/src/Values.ml
@@ -681,6 +681,10 @@ and aborrow_content =
in practice the child value should only contain ended borrows, ignored
values, bottom values, etc.
*)
+ | AEndedSharedBorrow
+ (** We don't really need [AEndedSharedBorrow]: we simply want to be
+ precise, and not insert ⊥ when ending borrows.
+ *)
| AEndedIgnoredMutBorrow of {
child : typed_avalue;
given_back_loans_proj : typed_avalue;