comparison src/parallel_execution/origin_cs.c @ 206:bd11fa6891b6

Add stub to origin_cs
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 20 Dec 2016 17:19:54 +0900
parents 4f6a660c14a1
children
comparison
equal deleted inserted replaced
205:1b15f02ec713 206:bd11fa6891b6
9 9
10 __code start_code(struct Context* context) { 10 __code start_code(struct Context* context) {
11 goto meta(context, context->next); 11 goto meta(context, context->next);
12 } 12 }
13 13
14 __code start_code_stub(struct Context* context) {
15 goto start_code(context);
16 }
17
14 __code exit_code(struct Context* context) { 18 __code exit_code(struct Context* context) {
15 free(context->code); 19 free(context->code);
16 free(context->data); 20 free(context->data);
17 free(context->heapStart); 21 free(context->heapStart);
18 goto exit(0); 22 goto exit(0);
19 } 23 }
24
25 __code exit_code_stub(struct Context* context) {
26 goto exit_code(context);
27 }