Ignore:
Timestamp:
May 2, 2017, 7:18:52 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
6db9dab
Parents:
ed8a0d2 (diff), b510ac2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:/u/cforall/software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/bench.c

    red8a0d2 r9042795  
    8686//=======================================
    8787
    88 struct CoroutineDummy { coroutine_desc __cor; };
    89 DECL_COROUTINE(CoroutineDummy);
     88coroutine CoroutineDummy {};
    9089void main(CoroutineDummy * this) {}
    9190
     
    117116}
    118117
    119 struct CoroutineResume {
     118coroutine CoroutineResume {
    120119    int N;
    121     coroutine_desc __cor;
    122120};
    123 
    124 DECL_COROUTINE(CoroutineResume);
    125121
    126122void ?{}(CoroutineResume* this, int N) {
     
    150146//=======================================
    151147
    152 struct ThreadDummy { thread_desc __thrd; };
    153 DECL_THREAD(ThreadDummy);
     148thread ThreadDummy {};
    154149void main(ThreadDummy * this) {}
    155150
     
    177172}
    178173
    179 struct ContextSwitch {
     174thread ContextSwitch {
    180175    int N;
    181176    long long result;
    182     thread_desc __thrd;
    183177};
    184 
    185 DECL_THREAD(ContextSwitch);
    186178
    187179void main(ContextSwitch * this) {   
     
    241233        DynamicTaskCreateDelete( NoOfTimes );
    242234        {
    243                 scoped(ContextSwitch) dummy = { (int)NoOfTimes };               // context switch
     235                ContextSwitch dummy = { (int)NoOfTimes };               // context switch
    244236        }
    245237        sout | "\t" | endl;
Note: See TracChangeset for help on using the changeset viewer.