diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2021-09-26 17:37:52 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2021-10-03 18:43:34 +0200 |
commit | 2c46ae4bd8f9f49554daa31988fd98793cc5601e (patch) | |
tree | cd2f25e7939e8f7a551c65ec9e599ec08ced7409 /backend | |
parent | d68764918c148a5297c8568dedf496813f720271 (diff) | |
download | compcert-kvx-2c46ae4bd8f9f49554daa31988fd98793cc5601e.tar.gz compcert-kvx-2c46ae4bd8f9f49554daa31988fd98793cc5601e.zip |
Qualify `Instance` and `Program Instance` as `Global`
This avoids a new warning of Coq 8.14.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/Selectionproof.v | 2 | ||||
-rw-r--r-- | backend/Unusedglobproof.v | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/Selectionproof.v b/backend/Selectionproof.v index 4755ab79..d66c7de8 100644 --- a/backend/Selectionproof.v +++ b/backend/Selectionproof.v @@ -1463,7 +1463,7 @@ End PRESERVATION. (** ** Commutation with linking *) -Instance TransfSelectionLink : TransfLink match_prog. +Global Instance TransfSelectionLink : TransfLink match_prog. Proof. red; intros. destruct (link_linkorder _ _ _ H) as [LO1 LO2]. eapply link_match_program; eauto. diff --git a/backend/Unusedglobproof.v b/backend/Unusedglobproof.v index 3216ec50..fec3c9f8 100644 --- a/backend/Unusedglobproof.v +++ b/backend/Unusedglobproof.v @@ -1435,4 +1435,4 @@ Proof. * intros. apply PTree.elements_keys_norepet. Qed. -Instance TransfSelectionLink : TransfLink match_prog := link_match_program. +Global Instance TransfSelectionLink : TransfLink match_prog := link_match_program. |