diff src/parallel_execution/TimeImpl.cbc @ 447:57132ef16009

Remove ALLOCATE_DATA_GEAR from par goto code gear arguments
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Thu, 30 Nov 2017 15:42:19 +0900
parents f1d111e293c4
children 8d7e5d48cad3
line wrap: on
line diff
--- a/src/parallel_execution/TimeImpl.cbc	Sun Nov 26 04:26:44 2017 +0900
+++ b/src/parallel_execution/TimeImpl.cbc	Thu Nov 30 15:42:19 2017 +0900
@@ -4,7 +4,7 @@
 #include "../context.h"
 
 Time* createTimeImpl(struct Context* context) {
-    struct Time* time = &ALLOCATE_DATA_GEAR(context, Time)->Time;
+    struct Time* time = new Time();
     struct TimeImpl* timeImpl = new TimeImpl();
     time->time = (union Data*)timeImpl;
     time->start = C_startTime;