summaryrefslogtreecommitdiff
path: root/compiler/SymbolicToPure.ml
diff options
context:
space:
mode:
authorSon Ho2022-11-07 09:55:04 +0100
committerSon HO2022-11-07 10:36:13 +0100
commit47e0291dd840cfc59ee6c5bc3ac2c7edd1610ab7 (patch)
tree73ddf8a91e78f4b8fef9aa98b04478fb22fe17e5 /compiler/SymbolicToPure.ml
parent1df2b191af5e8cafd3bc9480bc5cd5de37ae0300 (diff)
Rename "inactivated borrows" to "reserved borrows"
Diffstat (limited to '')
-rw-r--r--compiler/SymbolicToPure.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/SymbolicToPure.ml b/compiler/SymbolicToPure.ml
index 54f14d30..3636d4b8 100644
--- a/compiler/SymbolicToPure.ml
+++ b/compiler/SymbolicToPure.ml
@@ -772,10 +772,10 @@ let rec typed_value_to_texpression (ctx : bs_ctx) (v : V.typed_value) :
(* The meta-value stored in the shared borrow was added especially
* for this case (because we can't use the borrow id for lookups) *)
translate mv
- | V.InactivatedMutBorrow (mv, _) ->
- (* Same as for shared borrows. However, note that we use inactivated borrows
+ | V.ReservedMutBorrow (mv, _) ->
+ (* Same as for shared borrows. However, note that we use reserved borrows
* only in meta-data: a value actually *used in the translation* can't come
- * from an unpromoted inactivated borrow *)
+ * from an unpromoted reserved borrow *)
translate mv
| V.MutBorrow (_, v) ->
(* Borrows are the identity in the extraction *)