Changes between Version 137 and Version 138 of IR


Ignore:
Timestamp:
01/04/16 11:34:51 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v137 v138  
    453453=== Function Contracts ===
    454454
    455 **THIS NEEDS TO BE UPDATED**
    456 
    457455* action expressions:
    458456 * `read(e)`: `e` has type `Mem`. The function reads the memory units specified by `e`.
     
    495493{
    496494  begin choose
    497   when (eq(cmd, 0))
     495  when eq(cmd, 0)
    498496     do CALL send, <buf, ...>; goto L1;
    499   when (eq(cmd, 1))
     497  when eq(cmd, 1)
    500498    do CALL recv, <buf, ...>; goto L1;
    501   when (and(neq(cmd, 0), neq(cmd, 1)))
     499  when and(neq(cmd, 0), neq(cmd, 1))
    502500    do NOOP; goto L1;
    503501  end choose