aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2021-09-26 17:37:52 +0200
committerXavier Leroy <xavier.leroy@college-de-france.fr>2021-10-03 18:43:34 +0200
commit2c46ae4bd8f9f49554daa31988fd98793cc5601e (patch)
treecd2f25e7939e8f7a551c65ec9e599ec08ced7409 /driver
parentd68764918c148a5297c8568dedf496813f720271 (diff)
downloadcompcert-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 'driver')
-rw-r--r--driver/Compiler.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/Compiler.v b/driver/Compiler.v
index 75247f71..b00d067e 100644
--- a/driver/Compiler.v
+++ b/driver/Compiler.v
@@ -209,7 +209,7 @@ Proof.
intros. unfold match_if, partial_if in *. destruct (flag tt). auto. congruence.
Qed.
-Instance TransfIfLink {A: Type} {LA: Linker A}
+Global Instance TransfIfLink {A: Type} {LA: Linker A}
(flag: unit -> bool) (transf: A -> A -> Prop) (TL: TransfLink transf)
: TransfLink (match_if flag transf).
Proof.