diff src/include/allocate.h @ 56:c469c5ed5b4d

modify syntax
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 16 Jun 2015 13:40:08 +0900
parents 868c2918b634
children 368306e1bfed
line wrap: on
line diff
--- a/src/include/allocate.h	Thu Jun 11 17:23:50 2015 +0900
+++ b/src/include/allocate.h	Tue Jun 16 13:40:08 2015 +0900
@@ -9,5 +9,6 @@
 __code meta_allocate(struct Context* context) {
     context->data[++context->dataNum] = context->heap;
     context->heap += context->data[0]->allocate.size;
-    goto (context->code[context->data[0]->allocate.next])(context);
+
+    goto meta(context, context->next[--context->current]);
 }