diff src/parallel_execution/allocate.c @ 217:c34e6aa10967

Fix DataGear access name
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Mon, 09 Jan 2017 01:18:13 +0900
parents 473b7d990a1f
children
line wrap: on
line diff
--- a/src/parallel_execution/allocate.c	Fri Jan 06 06:53:54 2017 +0900
+++ b/src/parallel_execution/allocate.c	Mon Jan 09 01:18:13 2017 +0900
@@ -3,7 +3,7 @@
 
 union Data* allocator(struct Context* context) {
     context->data[++context->dataNum] = context->heap;
-    context->heap += context->data[D_Allocate]->allocate.size;
+    context->heap += context->data[D_Allocate]->Allocate.size;
     return context->data[context->dataNum];
 }
 
@@ -14,5 +14,5 @@
 }
 
 __code allocator_stub(struct Context* context) {
-    goto allocatorCS(context, &context->data[D_Allocate]->allocate);
+    goto allocatorCS(context, &context->data[D_Allocate]->Allocate);
 }