summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-05-26 11:59:09 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-05-26 11:59:09 +0000
commitf0db487d8c8798b9899be03bf65bcb12524b9186 (patch)
treeaa9c57edf987fed973dfebd0de067be7bcdb089c /backend
parentee8556f646ac19726f012fff78fffdee39f5be63 (diff)
Updated Caml parts to match new representation for global variables.
*/PrintAsm.ml: watch out for large stack frames in Pallocframe. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1349 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend')
-rw-r--r--backend/CMparser.mly3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/CMparser.mly b/backend/CMparser.mly
index c83a46e..8420209 100644
--- a/backend/CMparser.mly
+++ b/backend/CMparser.mly
@@ -324,7 +324,8 @@ global_declarations:
global_declaration:
VAR STRINGLIT LBRACKET INTLIT RBRACKET
- { Coq_pair(Coq_pair($2, [ Init_space (z_of_camlint $4) ]), ()) }
+ { Coq_pair($2, {gvar_info = (); gvar_init = [Init_space(z_of_camlint $4)];
+ gvar_readonly = false; gvar_volatile = false}) }
;
proc_list: