Changeset 1224 for src/Cminor/syntax.ma


Ignore:
Timestamp:
Sep 16, 2011, 6:39:05 PM (8 years ago)
Author:
sacerdot
Message:

Type of programs in common/AST made more dependent.
In particular, the type of internal functions is now dependent on the
list of global variables. This is already used in the back-end to rule
out from the syntax programs that have free variables.

Note: only the test Clight/test/search.c.ma has been ported to the new type.
The porting requires two very minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Cminor/syntax.ma

    r1147 r1224  
    4545   responsible for initialisation and we only give the size of each variable. *)
    4646
    47 definition Cminor_program ≝ program (fundef internal_function) (list init_data).
     47definition Cminor_program ≝ program (λ_.fundef internal_function) (list init_data).
    4848
    49 definition Cminor_noinit_program ≝ program (fundef internal_function) nat.
     49definition Cminor_noinit_program ≝ program (λ_.fundef internal_function) nat.
Note: See TracChangeset for help on using the changeset viewer.