aboutsummaryrefslogtreecommitdiffstats
path: root/common/Memory.v
diff options
context:
space:
mode:
authorDavid Monniaux <David.Monniaux@univ-grenoble-alpes.fr>2022-02-03 15:04:46 +0100
committerDavid Monniaux <David.Monniaux@univ-grenoble-alpes.fr>2022-02-03 15:04:46 +0100
commitf67fbc3c26510ac95b1c957b1b288e25f0fc4a31 (patch)
tree294c26f2c029cd716496d4ad81b18b04fd3fc510 /common/Memory.v
parent760300e972f4c4b3eb14d90e79580bb1f2632197 (diff)
parent8675997219a5883ca639429639b2ab0edff16aa2 (diff)
downloadcompcert-kvx-f67fbc3c26510ac95b1c957b1b288e25f0fc4a31.tar.gz
compcert-kvx-f67fbc3c26510ac95b1c957b1b288e25f0fc4a31.zip
Merge ../kvx-work into kvx_fp_division
Diffstat (limited to 'common/Memory.v')
-rw-r--r--common/Memory.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/Memory.v b/common/Memory.v
index e243d475..1e94d865 100644
--- a/common/Memory.v
+++ b/common/Memory.v
@@ -646,11 +646,11 @@ Next Obligation.
apply access_max.
Qed.
Next Obligation.
- specialize (nextblock_noaccess m b0 ofs k H0). intros.
+ exploit (nextblock_noaccess m b0 ofs k). auto. intros NOACC.
rewrite PMap.gsspec. destruct (peq b0 b). subst b0.
destruct (zle lo ofs). destruct (zlt ofs hi).
- assert (perm m b ofs k Freeable). apply perm_cur. apply H; auto.
- unfold perm in H2. rewrite H1 in H2. contradiction.
+ assert (P: perm m b ofs k Freeable) by auto using perm_cur.
+ unfold perm in P. rewrite NOACC in P. contradiction.
auto. auto. auto.
Qed.
Next Obligation.