diff options
Diffstat (limited to 'ia32/standard/Stacklayout.v')
-rw-r--r-- | ia32/standard/Stacklayout.v | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ia32/standard/Stacklayout.v b/ia32/standard/Stacklayout.v index 063fb4f7..be854fde 100644 --- a/ia32/standard/Stacklayout.v +++ b/ia32/standard/Stacklayout.v @@ -107,7 +107,7 @@ Remark frame_env_aligned: /\ (8 | fe.(fe_ofs_float_local)) /\ (8 | fe.(fe_ofs_float_callee_save)) /\ (4 | fe.(fe_ofs_retaddr)) - /\ (4 | fe.(fe_stack_data)) + /\ (8 | fe.(fe_stack_data)) /\ (4 | fe.(fe_size)). Proof. intros. @@ -128,8 +128,7 @@ Proof. set (x6 := x5 + 8 * bound_float_local b). assert (8 | x6). unfold x6. apply Zdivide_plus_r; auto. exists (bound_float_local b); ring. set (x7 := x6 + 8 * bound_float_callee_save b). - assert (4 | x7). - apply Zdivides_trans with 8. exists 2; auto. + assert (8 | x7). unfold x7. apply Zdivide_plus_r; auto. exists (bound_float_callee_save b); ring. set (x8 := align (x7 + bound_stack_data b) 4). assert (4 | x8). apply align_divides. omega. |