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/Constprop.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/Constprop.v') diff --git a/backend/Constprop.v b/backend/Constprop.v index 0575079f..24573a59 100644 --- a/backend/Constprop.v +++ b/backend/Constprop.v @@ -240,7 +240,7 @@ Module DS := Dataflow_Solver(D)(NodeSetForward). Definition analyze (gapp: global_approx) (f: RTL.function): PMap.t D.t := let lu := Liveness.last_uses f in - match DS.fixpoint (successors f) (transfer' gapp f lu) + match DS.fixpoint f.(fn_code) successors_instr (transfer' gapp f lu) ((f.(fn_entrypoint), D.top) :: nil) with | None => PMap.init D.top | Some res => res -- cgit