Ignore:
Timestamp:
Mar 2, 2018, 5:34:51 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
dd05e12
Parents:
244b934
git-author:
Rob Schluntz <rschlunt@…> (03/02/18 09:47:18)
git-committer:
Rob Schluntz <rschlunt@…> (03/02/18 17:34:51)
Message:

Update CFA evaluation code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/evaluation/cfa-stack.h

    r244b934 r986dd36  
    66};
    77
    8 forall(otype T) void ?{}(stack(T)* s);
    9 forall(otype T) void ?{}(stack(T)* s, stack(T) t);
    10 forall(otype T) stack(T) ?=?(stack(T)* s, stack(T) t);
    11 forall(otype T) void ^?{}(stack(T)* s);
     8forall(otype T) void ?{}(stack(T)& s);
     9forall(otype T) void ?{}(stack(T)& s, stack(T) t);
     10forall(otype T) stack(T) ?=?(stack(T)& s, stack(T) t);
     11forall(otype T) void ^?{}(stack(T)& s);
    1212
    13 forall(otype T) _Bool empty(const stack(T)* s);
    14 forall(otype T) void push(stack(T)* s, T value);
    15 forall(otype T) T pop(stack(T)* s);
    16 forall(otype T) void clear(stack(T)* s);
     13forall(otype T) _Bool empty(const stack(T)& s);
     14forall(otype T) void push(stack(T)& s, T value);
     15forall(otype T) T pop(stack(T)& s);
     16forall(otype T) void clear(stack(T)& s);
Note: See TracChangeset for help on using the changeset viewer.