aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Locations.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-03-10 12:13:12 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-03-10 12:13:12 +0000
commit02779dbc71c0f6985427c47ec05dd25b44dd859c (patch)
treecdff116e8c7e5d82ae6943428018f39d1ce81d60 /backend/Locations.v
parente29b0c71f446ea6267711c7cc19294fd93fb81ad (diff)
downloadcompcert-kvx-02779dbc71c0f6985427c47ec05dd25b44dd859c.tar.gz
compcert-kvx-02779dbc71c0f6985427c47ec05dd25b44dd859c.zip
Glasnost: making transparent a number of definitions that were opaque
for no good reason. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2140 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/Locations.v')
-rw-r--r--backend/Locations.v9
1 files changed, 6 insertions, 3 deletions
diff --git a/backend/Locations.v b/backend/Locations.v
index ba2fb063..2381fea0 100644
--- a/backend/Locations.v
+++ b/backend/Locations.v
@@ -89,7 +89,8 @@ Proof.
decide equality.
generalize zeq; intro.
decide equality.
-Qed.
+Defined.
+Global Opaque slot_eq.
Open Scope Z_scope.
@@ -122,7 +123,7 @@ Module Loc.
Lemma eq: forall (p q: loc), {p = q} + {p <> q}.
Proof.
decide equality. apply mreg_eq. apply slot_eq.
- Qed.
+ Defined.
(** As mentioned previously, two locations can be different (in the sense
of the [<>] mathematical disequality), yet denote
@@ -286,7 +287,7 @@ Module Loc.
case_eq (overlap l1 l2); intros.
right. apply overlap_not_diff; auto.
left. apply non_overlap_diff; auto.
- Qed.
+ Defined.
(** We now redefine some standard notions over lists, using the [Loc.diff]
predicate instead of standard disequality [<>].
@@ -383,6 +384,8 @@ Module Loc.
End Loc.
+Global Opaque Loc.eq Loc.diff_dec.
+
(** * Mappings from locations to values *)
(** The [Locmap] module defines mappings from locations to values,