diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2006-09-07 15:30:24 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2006-09-07 15:30:24 +0000 |
commit | 593ce3f7c5647e284cd2fdc3dd3ed41be9563982 (patch) | |
tree | 6ec1df325b89bb0c320023861118549deb9a9e71 /cil.patch/dataflow.ml.patch | |
parent | fa7415be2fe9b240374f0a51c1cd4a9de5376c5a (diff) | |
download | compcert-593ce3f7c5647e284cd2fdc3dd3ed41be9563982.tar.gz compcert-593ce3f7c5647e284cd2fdc3dd3ed41be9563982.zip |
Integration du front-end CIL developpe par Thomas Moniot
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@84 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cil.patch/dataflow.ml.patch')
-rw-r--r-- | cil.patch/dataflow.ml.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cil.patch/dataflow.ml.patch b/cil.patch/dataflow.ml.patch new file mode 100644 index 00000000..87b00de6 --- /dev/null +++ b/cil.patch/dataflow.ml.patch @@ -0,0 +1,27 @@ +*** ../cil/src/ext/dataflow.ml 2006-05-21 06:14:15.000000000 +0200 +--- ../cil_patch/src/ext/dataflow.ml 2006-06-20 17:28:35.000000000 +0200 +*************** +*** 1,3 **** +--- 1,4 ---- ++ (* MODIF: Loop constructor replaced by 3 constructors: While, DoWhile, For. *) + + module IH = Inthash + module E = Errormsg +*************** +*** 219,225 **** + + | Goto _ | Break _ | Continue _ | If _ + | TryExcept _ | TryFinally _ +! | Switch _ | Loop _ | Return _ | Block _ -> curr + in + currentLoc := get_stmtLoc s.skind; + +--- 220,227 ---- + + | Goto _ | Break _ | Continue _ | If _ + | TryExcept _ | TryFinally _ +! | Switch _ | (*Loop _*) While _ | DoWhile _ | For _ +! | Return _ | Block _ -> curr + in + currentLoc := get_stmtLoc s.skind; + |