aboutsummaryrefslogtreecommitdiffstats
path: root/riscV
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2021-10-16 10:17:47 +0200
committerGitHub <noreply@github.com>2021-10-16 10:17:47 +0200
commitd04d3963f9d095f5e444226e6d62bc5fc5e4921b (patch)
tree93cdf01c7c7d5f744aa5dd8dd85ca8af72370732 /riscV
parent990c96e18ca31781484f558d46c94537b5ec59cf (diff)
parentaf2b004f567e5437904ffa168cf1d79d7b176a00 (diff)
downloadcompcert-d04d3963f9d095f5e444226e6d62bc5fc5e4921b.tar.gz
compcert-d04d3963f9d095f5e444226e6d62bc5fc5e4921b.zip
Merge pull request #415 from AbsInt/coq-8.14-compat
Improved compatibility with Coq 8.14
Diffstat (limited to 'riscV')
-rw-r--r--riscV/Machregs.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscV/Machregs.v b/riscV/Machregs.v
index d469e594..89fa37b0 100644
--- a/riscV/Machregs.v
+++ b/riscV/Machregs.v
@@ -78,9 +78,9 @@ Proof.
intros. specialize (H r). InvBooleans. auto.
Qed.
-Instance Decidable_eq_mreg : forall (x y: mreg), Decidable (eq x y) := Decidable_eq mreg_eq.
+Global Instance Decidable_eq_mreg : forall (x y: mreg), Decidable (eq x y) := Decidable_eq mreg_eq.
-Instance Finite_mreg : Finite mreg := {
+Global Instance Finite_mreg : Finite mreg := {
Finite_elements := all_mregs;
Finite_elements_spec := all_mregs_complete
}.