summaryrefslogtreecommitdiff
path: root/src/Values.ml
diff options
context:
space:
mode:
authorSon Ho2021-12-17 16:17:46 +0100
committerSon Ho2021-12-17 16:17:46 +0100
commitf6c1c4ab8898176a7866b4f277b0d991e1a8f9d3 (patch)
tree272b6fdfa23f33a04b54dee0461978102a2bb07f /src/Values.ml
parent46205d1ef9c59e7db199bee3aaf8cd1a2dcd42f4 (diff)
Take the abstract shared borrows into account
Diffstat (limited to '')
-rw-r--r--src/Values.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Values.ml b/src/Values.ml
index 1a61f296..458fbdec 100644
--- a/src/Values.ml
+++ b/src/Values.ml
@@ -159,6 +159,9 @@ and typed_value = { value : value; ty : ety }
Note that as shared values can't get modified it is ok to forget the
structure of the values we projected, and only keep the set of borrows
(and symbolic values).
+
+ TODO: we may actually need to remember the structure, in order to know
+ which borrows are inside which other borrows...
*)
type abstract_shared_borrow =
| AsbBorrow of (BorrowId.id[@opaque])