diff --git a/C/alloc.c b/C/alloc.c index 3d67b17d1..5af9fbdb5 100644 --- a/C/alloc.c +++ b/C/alloc.c @@ -253,6 +253,9 @@ static void InitHeap(void) { Yap_heap_regs = (struct various_codes *)calloc(1, sizeof(struct various_codes)); +#if defined(YAPOR) || defined(TABLING) + LOCAL = REMOTE; /* point to the first area */ +#endif /* YAPOR || TABLING */ } void