diff src/include/allocate.h @ 23:868c2918b634

Non Destructive llrb
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Thu, 30 Apr 2015 19:07:23 +0900
parents ec4e7a81bddf
children c469c5ed5b4d
line wrap: on
line diff
--- a/src/include/allocate.h	Tue Apr 28 17:39:44 2015 +0900
+++ b/src/include/allocate.h	Thu Apr 30 19:07:23 2015 +0900
@@ -7,7 +7,7 @@
 }
 
 __code meta_allocate(struct Context* context) {
-    context->data[++context->dataSize] = context->heap;
+    context->data[++context->dataNum] = context->heap;
     context->heap += context->data[0]->allocate.size;
     goto (context->code[context->data[0]->allocate.next])(context);
 }