Changes between Version 93 and Version 94 of IR2
- Timestamp:
- 05/12/21 21:01:40 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IR2
v93 v94 226 226 | '&' lvalue /* address-of */ 227 227 | expr type-args? '(' expression-list? ')' /* application of abstract function (and perhaps other functions?) */ 228 | $new(type-name)/* returns a new arbitrary value of the given type */228 | '$new' '(' type-name ')' /* returns a new arbitrary value of the given type */ 229 229 | '$forall' '(' decl expr? ')' expr /* universal quantification */ 230 230 | '$exists' '(' decl expr? ')' expr /* existential quantification */ … … 235 235 | '$castable' '(' expr ',' type-name ')' /* can expr be cast to type T? */ 236 236 | '$defined' '(' lvalue ')' /* has the specified memory location been assigned? */ 237 | '$valid '(' expr ')' /* does a pointer point to a memory location capable of holding a valueof its base type? */237 | '$valid '(' expr ')' /* does a pointer point to an object of its base type? */ 238 238 ; 239 239 expr-pair-list: expr-pair (',' expr-pair)* ;
