diff options
author | Son Ho | 2021-12-17 16:17:46 +0100 |
---|---|---|
committer | Son Ho | 2021-12-17 16:17:46 +0100 |
commit | f6c1c4ab8898176a7866b4f277b0d991e1a8f9d3 (patch) | |
tree | 272b6fdfa23f33a04b54dee0461978102a2bb07f /src/Values.ml | |
parent | 46205d1ef9c59e7db199bee3aaf8cd1a2dcd42f4 (diff) |
Take the abstract shared borrows into account
Diffstat (limited to '')
-rw-r--r-- | src/Values.ml | 3 |
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]) |