Changeset 28bc8c8 for doc/papers/general/evaluation/cfa-stack.c
- Timestamp:
- Mar 8, 2018, 3:16:30 PM (5 years ago)
- Branches:
- ADT, 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, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 9d6f011
- Parents:
- fb2ce27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/general/evaluation/cfa-stack.c
rfb2ce27 r28bc8c8 12 12 stack_node(T) ** crnt = &s.head; 13 13 for ( stack_node(T) * next = t.head; next; next = next->next ) { 14 *crnt = malloc();14 *crnt = alloc(); 15 15 ((*crnt)->value){ next->value }; 16 16 crnt = &(*crnt)->next; … … 31 31 32 32 forall(otype T) void push( stack(T) & s, T value ) with( s ) { 33 stack_node(T)* n = malloc();33 stack_node(T)* n = alloc(); 34 34 (*n){ value, head }; 35 35 head = n;
Note: See TracChangeset
for help on using the changeset viewer.