summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-23 10:41:13 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-23 10:41:13 +0200
commitdc3add048f3bdf5e0ed4a138bba89e70d5e1c0c4 (patch)
tree6d505cd3b45b747e977ee8cab4148fd873613d10
parenta4c3299f413b559be00ee6c59fc920104d4b55b0 (diff)
eo: remove XXX, it's ok now ...
-rw-r--r--src/lib/eo/eo.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 760dd39..6b0834a 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -354,8 +354,6 @@ _eo_call_stack_create()
354 if (!stack) 354 if (!stack)
355 return NULL; 355 return NULL;
356 356
357// XXX: leave in for noew in case this breaks, but remove later when ok
358// stack->frames = calloc(EO_CALL_STACK_DEPTH_MIN, sizeof(Eo_Stack_Frame));
359 stack->max_size = 8192 * sizeof(Eo_Stack_Frame); 357 stack->max_size = 8192 * sizeof(Eo_Stack_Frame);
360 stack->frames = _eo_call_stack_mem_alloc(stack->max_size); 358 stack->frames = _eo_call_stack_mem_alloc(stack->max_size);
361 if (!stack->frames) 359 if (!stack->frames)
@@ -380,11 +378,8 @@ _eo_call_stack_free(void *ptr)
380 if (!stack) return; 378 if (!stack) return;
381 379
382 if (stack->frames) 380 if (stack->frames)
383 { 381 _eo_call_stack_mem_free(stack->frames, stack->max_size);
384// XXX: leave in for noew in case this breaks, but remove later when ok 382
385// free(stack->frames);
386 _eo_call_stack_mem_free(stack->frames, stack->max_size);
387 }
388 free(stack); 383 free(stack);
389} 384}
390 385
@@ -432,8 +427,6 @@ _eo_call_stack_resize(Eo_Call_Stack *stack, Eina_Bool grow)
432 frame_offset = stack->frame_ptr - stack->frames; 427 frame_offset = stack->frame_ptr - stack->frames;
433 428
434 DBG("resize from %lu to %lu", (long unsigned int)sz, (long unsigned int)next_sz); 429 DBG("resize from %lu to %lu", (long unsigned int)sz, (long unsigned int)next_sz);
435// XXX: leave in for noew in case this breaks, but remove later when ok
436// stack->frames = realloc(stack->frames, next_sz * sizeof(Eo_Stack_Frame));
437 if (!grow) 430 if (!grow)
438 _eo_call_stack_mem_resize((void **)&(stack->frames), 431 _eo_call_stack_mem_resize((void **)&(stack->frames),
439 next_sz * sizeof(Eo_Stack_Frame), 432 next_sz * sizeof(Eo_Stack_Frame),