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/mergecil.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/mergecil.ml.patch')
-rw-r--r-- | cil.patch/mergecil.ml.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cil.patch/mergecil.ml.patch b/cil.patch/mergecil.ml.patch new file mode 100644 index 00000000..cc976ec5 --- /dev/null +++ b/cil.patch/mergecil.ml.patch @@ -0,0 +1,25 @@ +*** ../cil/src/mergecil.ml 2006-05-21 06:14:15.000000000 +0200 +--- ../cil_patch/src/mergecil.ml 2006-06-20 17:20:05.000000000 +0200 +*************** +*** 1,3 **** +--- 1,5 ---- ++ (* MODIF: Loop constructor replaced by 3 constructors: While, DoWhile, For. *) ++ + (* + * + * Copyright (c) 2001-2002, +*************** +*** 1151,1157 **** +--- 1153,1164 ---- + + 41*(stmtListSum b2.bstmts) + | Switch(_,b,_,_) -> 43 + 47*(stmtListSum b.bstmts) + (* don't look at stmt list b/c is not part of tree *) ++ (* + | Loop(b,_,_,_) -> 49 + 53*(stmtListSum b.bstmts) ++ *) ++ | While(_,b,_) -> 49 + 53*(stmtListSum b.bstmts) ++ | DoWhile(_,b,_) -> 49 + 53*(stmtListSum b.bstmts) ++ | For(_,_,_,b,_) -> 49 + 53*(stmtListSum b.bstmts) + | Block(b) -> 59 + 61*(stmtListSum b.bstmts) + | TryExcept (b, (il, e), h, _) -> + 67 + 83*(stmtListSum b.bstmts) + 97*(stmtListSum h.bstmts) |