diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-08-12 13:09:20 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-08-12 13:09:20 +0000 |
commit | eafbaf41e528cc9825a503c66739a66a92ca65a8 (patch) | |
tree | 631be83d097b863cfce0482e143cf1d45f7263e8 /backend/RTL.v | |
parent | f7d64b71170e0694c5c4fb38ab7d1a23a4bd4c2a (diff) | |
download | compcert-eafbaf41e528cc9825a503c66739a66a92ca65a8.tar.gz compcert-eafbaf41e528cc9825a503c66739a66a92ca65a8.zip |
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/RTL.v')
-rw-r--r-- | backend/RTL.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/RTL.v b/backend/RTL.v index 838cf0a8..b2e1e89c 100644 --- a/backend/RTL.v +++ b/backend/RTL.v @@ -384,7 +384,7 @@ Definition successors_instr (i: instruction) : list node := | Ireturn optarg => nil end. -Definition successors (f: function) : PTree.t (list node) := +Definition successors_map (f: function) : PTree.t (list node) := PTree.map1 successors_instr f.(fn_code). (** The registers used by an instruction *) |