From 02779dbc71c0f6985427c47ec05dd25b44dd859c Mon Sep 17 00:00:00 2001 From: xleroy Date: Sun, 10 Mar 2013 12:13:12 +0000 Subject: 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 --- backend/Locations.v | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'backend/Locations.v') 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, -- cgit