summaryrefslogtreecommitdiff
path: root/compiler/ValuesUtils.ml
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-04-11 11:19:02 +0200
committerGitHub2024-04-11 11:19:02 +0200
commit87f3f68df0ae7ec010a7364762a1b852f0cac619 (patch)
tree722d3fad1c0cef926e40df16bd8645ce3b4abd20 /compiler/ValuesUtils.ml
parentdabbffde83e640aabc634d0a8917108decf9a5e7 (diff)
parent2f43c95253de73fce3207a7e6895f257b857f566 (diff)
Merge pull request #119 from AeneasVerif/generic-copy
Diffstat (limited to '')
-rw-r--r--compiler/ValuesUtils.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ValuesUtils.ml b/compiler/ValuesUtils.ml
index 91010e07..b6ee66f5 100644
--- a/compiler/ValuesUtils.ml
+++ b/compiler/ValuesUtils.ml
@@ -160,7 +160,7 @@ let find_first_primitively_copyable_sv_with_borrows
method! visit_VSymbolic _ sv =
let ty = sv.sv_ty in
- if ty_is_primitively_copyable ty && ty_has_borrows type_infos ty then
+ if ty_is_copyable ty && ty_has_borrows type_infos ty then
raise (FoundSymbolicValue sv)
else ()
end