Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Browse Source
Search
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 117
and
Version 118
of
IR
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
12/09/15 15:35:55 (
10 years
ago)
Author:
zmanchun
Comment:
--
Legend:
Unmodified
Added
Removed
Modified
IR
v117
v118
477
477
* Example of a function declaration with contracts:
478
478
{{{
479
atomic_f
sendRecv(Int cmd, Pointer buf): Integer
479
fun[atomic]
sendRecv(Int cmd, Pointer buf): Integer
480
480
depends [eq(cmd, SEND)] writes(buf)
481
481
depends [eq(cmd, RECV)] access(deref(buf))