Changes between Version 21 and Version 22 of ContractReduction
- Timestamp:
- 05/01/15 11:52:17 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ContractReduction
v21 v22 15 15 As in other contract specification language, this contract clause is used to specify a set of existing memory units. The claim is that if an existing memory unit is not in the set, it will not be modified in the course of the function call. The syntax is: 16 16 {{{ 17 $assigns <memory-list>;17 $assigns {<memory-list>} 18 18 }}} 19 19 where `<memory-list>` is a comma-separated list of expressions of type `$memory`. … … 29 29 This contractual clause specifies part of the dependence relation used in POR. 30 30 {{{ 31 $depends e ;31 $depends {e} 32 32 }}} 33 33 where `e` is an expression of boolean type. For each process `p`, the `e` can be evaluated in the context of `p`. If `e` evaluates to `true`, then `p` must be included in an ample set containing a call to this function. … … 132 132 133 133 {{{ 134 $guard <bool-expr> ;134 $guard {<bool-expr>} 135 135 }}} 136 136
