Changeset b58a5772 for src/libcfa/concurrency/invoke.c
- Timestamp:
- Dec 8, 2016, 5:50:39 PM (8 years ago)
- 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:
- 164d036
- Parents:
- fda7e90
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/invoke.c
rfda7e90 rb58a5772 15 15 extern void __suspend__F___1(void); 16 16 17 void invokeCoroutine(17 void CtxInvokeCoroutine( 18 18 void (*main)(void *), 19 19 struct coroutine *(*get_coroutine)(void *), … … 34 34 35 35 36 void startCoroutine(36 void CtxStart( 37 37 void (*main)(void *), 38 38 struct coroutine *(*get_coroutine)(void *), … … 73 73 74 74 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->dummyReturn = NULL; 75 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->rturn = coInvokeStub;75 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->rturn = CtxInvokeStub; 76 76 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fixedRegisters[0] = this; 77 77 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fixedRegisters[1] = invoke;
Note: See TracChangeset
for help on using the changeset viewer.