diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2008-12-29 13:12:08 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2008-12-29 13:12:08 +0000 |
commit | 1bce6b0f9f8cd614038a6e7fc21fb984724204a4 (patch) | |
tree | 48683822666bc49b0101ed78f4d5059e834eb492 /caml/Linearizeaux.ml | |
parent | 12421d717405aa7964e437fc1167a23699b61ecc (diff) | |
download | compcert-1bce6b0f9f8cd614038a6e7fc21fb984724204a4.tar.gz compcert-1bce6b0f9f8cd614038a6e7fc21fb984724204a4.zip |
Extract Coq lists to Caml lists.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@929 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'caml/Linearizeaux.ml')
-rw-r--r-- | caml/Linearizeaux.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/caml/Linearizeaux.ml b/caml/Linearizeaux.ml index 02a95241..2f2333fb 100644 --- a/caml/Linearizeaux.ml +++ b/caml/Linearizeaux.ml @@ -51,14 +51,14 @@ let rec pos_of_int n = module IntSet = Set.Make(struct type t = int let compare = compare end) let enumerate_aux f reach = - let enum = ref Coq_nil in + let enum = ref [] in let emitted = Array.make (int_of_pos f.fn_nextpc) false in let rec emit_block pending pc = let npc = int_of_pos pc in if emitted.(npc) then emit_restart pending else begin - enum := Coq_cons(pc, !enum); + enum := pc :: !enum; emitted.(npc) <- true; match PTree.get pc f.fn_code with | None -> assert false |