aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Stacklayout.v
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2017-09-22 19:50:52 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2017-09-22 19:50:52 +0200
commita36b3b755e25b8c5d61b9e069114858d9b768f04 (patch)
tree3ffd8bcb28a88ae4ff51989aed37b0ad2cb676b2 /powerpc/Stacklayout.v
parent0f210f622a4609811959f4450f770c61f5eb6532 (diff)
downloadcompcert-a36b3b755e25b8c5d61b9e069114858d9b768f04.tar.gz
compcert-a36b3b755e25b8c5d61b9e069114858d9b768f04.zip
Remove coq warnings (#28)
Replace deprecated functions and theorems from the Coq standard library (version 8.6) by their non-deprecated counterparts.
Diffstat (limited to 'powerpc/Stacklayout.v')
-rw-r--r--powerpc/Stacklayout.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerpc/Stacklayout.v b/powerpc/Stacklayout.v
index 17104b33..cb3806bd 100644
--- a/powerpc/Stacklayout.v
+++ b/powerpc/Stacklayout.v
@@ -138,8 +138,8 @@ Proof.
split. exists (fe_ofs_arg / 8); reflexivity.
split. apply align_divides; omega.
split. apply align_divides; omega.
- split. apply Zdivide_0.
+ split. apply Z.divide_0_r.
apply Z.divide_add_r.
- apply Zdivide_trans with 8. exists 2; auto. apply align_divides; omega.
+ apply Z.divide_trans with 8. exists 2; auto. apply align_divides; omega.
apply Z.divide_factor_l.
Qed.