summaryrefslogtreecommitdiff
path: root/src/Values.ml
diff options
context:
space:
mode:
authorSon Ho2022-01-13 21:56:36 +0100
committerSon Ho2022-01-13 21:56:36 +0100
commit0658739222a23474c5453eb32f282587ae8eb95e (patch)
tree0695538e1d6eab64ca16fcae97c0395d307082c1 /src/Values.ml
parent19783cea9664e5ac0b14419b4aa961716010aafb (diff)
Update the projectors to ignore values when they don't contain regions
of interest
Diffstat (limited to '')
-rw-r--r--src/Values.ml7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Values.ml b/src/Values.ml
index 707986f8..9d25025e 100644
--- a/src/Values.ml
+++ b/src/Values.ml
@@ -236,7 +236,8 @@ class ['self] map_typed_avalue_base =
*)
type avalue =
| AConcrete of constant_value
- (** Note that this case is not used in the projections to keep track of the
+ (** TODO: remove
+ Note that this case is not used in the projections to keep track of the
borrow graph (because there are no borrows in "concrete" values!) but
to correctly instantiate the backward functions (we may give back some
values at different moments: we need to remember what those values were
@@ -250,7 +251,9 @@ type avalue =
| ALoan of aloan_content
| ABorrow of aborrow_content
| ASymbolic of aproj
- | AIgnored (** A value we don't own and thus ignore *)
+ | AIgnored
+ (** A value which doesn't contain borrows, or which borrows we
+ don't own and thus ignore *)
and adt_avalue = {
variant_id : (VariantId.id option[@opaque]);