Changeset 26fd986 for benchmark/creation/cfa_cor.cfa
- Timestamp:
- Jan 21, 2020, 6:14:34 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 5518719
- Parents:
- c12869e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/creation/cfa_cor.cfa
rc12869e r26fd986 1 #include <stdio.h>2 #include <coroutine.hfa>3 4 1 #include "bench.h" 5 2 6 coroutine MyCoroutine {}; 7 void ?{}( MyCoroutine & this ) { 8 #ifdef EAGER 9 resume( this ); 10 #endif 11 } 12 void main( MyCoroutine & ) {} 3 typedef struct { 4 void * next; 5 } C; 13 6 14 7 int main( int argc, char * argv[] ) { … … 16 9 BENCH( 17 10 for ( times ) { 18 MyCoroutinec;11 C c; 19 12 }, 20 13 result
Note: See TracChangeset
for help on using the changeset viewer.