From 132e36fa0be63eb5672eda9168403d3fb74af2fa Mon Sep 17 00:00:00 2001 From: xleroy Date: Sat, 26 May 2012 07:32:01 +0000 Subject: CSE: add recognition of some combined operators, conditions, and addressing modes (cf. CombineOp.v) Memory model: cleaning up Memdata Inlining and new Constprop: updated for ARM. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1902 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- backend/Linearizeproof.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/Linearizeproof.v') diff --git a/backend/Linearizeproof.v b/backend/Linearizeproof.v index 50db0c65..b72268a6 100644 --- a/backend/Linearizeproof.v +++ b/backend/Linearizeproof.v @@ -641,7 +641,7 @@ Proof. econstructor; split. eapply plus_left'. eapply exec_Lcond_false; eauto. - change false with (negb true). apply eval_negate_condition; auto. + rewrite eval_negate_condition; rewrite H0; auto. eapply add_branch_correct; eauto. eapply is_tail_add_branch. eapply is_tail_cons_left. eapply is_tail_find_label. eauto. @@ -657,7 +657,7 @@ Proof. destruct (starts_with ifso c'). econstructor; split. apply plus_one. eapply exec_Lcond_true; eauto. - change true with (negb false). apply eval_negate_condition; auto. + rewrite eval_negate_condition; rewrite H0; auto. econstructor; eauto. econstructor; split. eapply plus_left'. -- cgit