Ignore:
Timestamp:
Dec 6, 2016, 3:38:11 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
d9c44c3
Parents:
c5cb6130
Message:

Properly fixed the build for i386/x86_64 including regular C file invoke.c and appropriate assembly CtxSwitch?-[CPU].S

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/invoke.c

    rc5cb6130 re4745d7a  
    2828
    2929void __startCoroutine__A0_1_0___this_coroutine__PFP10scoroutine_Pd0___co_main__PF_Pd0___vtable__PFP9scoVtable_Pd0__F_Pd0PF_P9scoVtablePv___1(
    30       struct coroutine *(*this_coroutine)(void * ), 
    31       void (*co_main)(void *), 
    32       struct coVtable *(*get_vtable)(void *), 
    33       void *vthis, 
     30      struct coroutine *(*this_coroutine)(void * ),
     31      void (*co_main)(void *),
     32      struct coVtable *(*get_vtable)(void *),
     33      void *vthis,
    3434      void (*invoke)(struct coVtable *, void *)
    3535) {
    3636
    37       #if ! defined( __x86_64__ )
    38             #error Only __x86_64__ is supported for threads in cfa
     37      #if ! defined( __x86_64__ ) && ! defined( __i386__ )
     38            #error Only __x86_64__ and __i386__ is supported for threads in cfa
    3939      #endif
    4040
Note: See TracChangeset for help on using the changeset viewer.