aboutsummaryrefslogtreecommitdiffstats
path: root/aarch64
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-21 15:44:09 +0100
committerXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-21 17:17:18 +0100
commitfc82b6c80fd3feeb4ef9478e6faa16b5b1104593 (patch)
treefdfd03a7f16fea070848ad9911373dbb4d603fc2 /aarch64
parenteca149363d20d94198a4b1e1ae4f9f964e468098 (diff)
downloadcompcert-kvx-fc82b6c80fd3feeb4ef9478e6faa16b5b1104593.tar.gz
compcert-kvx-fc82b6c80fd3feeb4ef9478e6faa16b5b1104593.zip
Qualify `Hint` as `Global Hint` where appropriate
This avoids a new warning of Coq 8.13. Eventually these `Global Hint` should become `#[export] Hint`, with a cleaner but different meaning than `Global Hint`.
Diffstat (limited to 'aarch64')
-rw-r--r--aarch64/Asmgenproof1.v4
-rw-r--r--aarch64/Conventions1.v2
2 files changed, 3 insertions, 3 deletions
diff --git a/aarch64/Asmgenproof1.v b/aarch64/Asmgenproof1.v
index 5f27f6bf..93c1f1ed 100644
--- a/aarch64/Asmgenproof1.v
+++ b/aarch64/Asmgenproof1.v
@@ -26,7 +26,7 @@ Lemma preg_of_iregsp_not_PC: forall r, preg_of_iregsp r <> PC.
Proof.
destruct r; simpl; congruence.
Qed.
-Hint Resolve preg_of_iregsp_not_PC: asmgen.
+Global Hint Resolve preg_of_iregsp_not_PC: asmgen.
Lemma preg_of_not_X16: forall r, preg_of r <> X16.
Proof.
@@ -44,7 +44,7 @@ Proof.
intros. apply ireg_of_not_X16 in H. congruence.
Qed.
-Hint Resolve preg_of_not_X16 ireg_of_not_X16 ireg_of_not_X16': asmgen.
+Global Hint Resolve preg_of_not_X16 ireg_of_not_X16 ireg_of_not_X16': asmgen.
(** Useful simplification tactic *)
diff --git a/aarch64/Conventions1.v b/aarch64/Conventions1.v
index 7edb16dd..f401458c 100644
--- a/aarch64/Conventions1.v
+++ b/aarch64/Conventions1.v
@@ -335,7 +335,7 @@ Proof.
eapply loc_arguments_rec_charact; eauto. lia.
Qed.
-Hint Resolve loc_arguments_acceptable: locs.
+Global Hint Resolve loc_arguments_acceptable: locs.
Lemma loc_arguments_main:
loc_arguments signature_main = nil.