From eafbaf41e528cc9825a503c66739a66a92ca65a8 Mon Sep 17 00:00:00 2001 From: xleroy Date: Mon, 12 Aug 2013 13:09:20 +0000 Subject: Change interface of Kildall solvers to avoid precomputing the map pc -> list of successors. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2305 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- backend/Linearizeproof.v | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'backend/Linearizeproof.v') diff --git a/backend/Linearizeproof.v b/backend/Linearizeproof.v index 2548580..93d38dd 100644 --- a/backend/Linearizeproof.v +++ b/backend/Linearizeproof.v @@ -126,9 +126,7 @@ Proof. unfold reachable_aux. intro reach; intros. assert (LBoolean.ge reach!!pc' reach!!pc). change (reach!!pc) with ((fun pc r => r) pc (reach!!pc)). - eapply DS.fixpoint_solution. eexact H. - unfold Kildall.successors_list, successors. rewrite PTree.gmap1. - rewrite H0; auto. + eapply DS.fixpoint_solution; eauto. elim H3; intro. congruence. auto. intros. apply PMap.gi. Qed. -- cgit v1.2.3