summaryrefslogtreecommitdiff
path: root/backend/Linearizeproof.v
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-05-26 07:32:01 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-05-26 07:32:01 +0000
commit132e36fa0be63eb5672eda9168403d3fb74af2fa (patch)
tree33955e0ccb4210271c82326b941523e6e4b2c289 /backend/Linearizeproof.v
parent9ea00d39bb32c1f188f1af2745c3368da6a349c1 (diff)
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
Diffstat (limited to 'backend/Linearizeproof.v')
-rw-r--r--backend/Linearizeproof.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/Linearizeproof.v b/backend/Linearizeproof.v
index 50db0c6..b72268a 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'.