Mercurial > hg > Members > Moririn
diff src/parallel_execution/allocate.c @ 131:a4507906938c
Fix compile error but not work
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 25 Oct 2016 00:49:28 +0900 |
parents | 2bb5e4f0fd35 |
children | a747dc9d4da6 |
line wrap: on
line diff
--- a/src/parallel_execution/allocate.c Mon Oct 10 20:19:26 2016 +0900 +++ b/src/parallel_execution/allocate.c Tue Oct 25 00:49:28 2016 +0900 @@ -6,12 +6,12 @@ return context->data[context->dataNum]; } -__code allocator(struct Context* context, struct Allocate* allocate) { +__code allocatorCS(struct Context* context, struct Allocate* allocate) { context->data[++context->dataNum] = context->heap; context->heap += allocate->size; goto meta(context, allocate->next); } __code allocator_stub(struct Context* context) { - goto allocator(context, &context->[Allocate]->allocate); + goto allocatorCS(context, &context->data[Allocate]->allocate); }