Changes between Version 31 and Version 32 of ContractReduction


Ignore:
Timestamp:
12/08/15 09:44:17 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContractReduction

    v31 v32  
    66* `$depends` clause: specify the dependency relation of the function, usually used for partial order reduction (POR) or other analysis
    77* `$reads` clause: specify memory locations read by the function, the syntax of which is similar to `assigns` clause
     8* additional parameter for `allocates` clause: specify the scope of the heap for allocation; if absent then the root scope `$root` is used
    89
    910{{{
     
    2021tsets ::= location (, location) ∗
    2122ensures-clause ::= ensures pred ;
    22 allocation-clause ::= allocates tsets ; | frees tsets ;
     23allocation-clause ::= allocates tsets (, scope)? ; | frees tsets ;
    2324reads-clause ::= $reads tsets;
    2425depends-clause := $depends event (, event)*;