summaryrefslogtreecommitdiff
path: root/backend/Linearizeproof.v
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-08-12 13:09:20 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-08-12 13:09:20 +0000
commiteafbaf41e528cc9825a503c66739a66a92ca65a8 (patch)
tree631be83d097b863cfce0482e143cf1d45f7263e8 /backend/Linearizeproof.v
parentf7d64b71170e0694c5c4fb38ab7d1a23a4bd4c2a (diff)
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
Diffstat (limited to 'backend/Linearizeproof.v')
-rw-r--r--backend/Linearizeproof.v4
1 files changed, 1 insertions, 3 deletions
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.