Ignore:
Timestamp:
Apr 5, 2017, 4:57:29 PM (7 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, 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, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
4cfcf41
Parents:
7a026ff
Message:

Fix CFA benchmark to compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/generic_types/evaluation/cfa-stack.c

    r7a026ff r75ac87e  
    88
    99forall(otype T) void ?{}(stack(T)* s) {
    10         ?{}( s->head, 0 );
     10        ?{}( &s->head, 0 );
    1111}
    1212
     
    2525
    2626forall(otype T) void push(stack(T)* s, T value) {
    27         s->head = new( value, s->head );
     27        s->head = ((stack_node(T)*)malloc()){ value, s->head };
    2828}
    2929
Note: See TracChangeset for help on using the changeset viewer.