João Silva patch for yapor copy+tabling

This commit is contained in:
Vitor Santos Costa
2014-03-08 11:50:20 +00:00
parent 233c4ee903
commit 3d0bb05ef0
6 changed files with 56 additions and 29 deletions

View File

@@ -162,8 +162,8 @@ void Yap_init_yapor_stacks_memory(UInt TrailStackArea, UInt HeapStackArea, UInt
LOCAL_TrailBase = LOCAL_GlobalBase + GlobalLocalStackArea;
LOCAL_LocalBase = LOCAL_TrailBase - CellSize;
LOCAL_TrailTop = LOCAL_TrailBase + TrailStackArea;
HeapLim = LOCAL_GlobalBase;
Yap_InitHeap(Yap_HeapBase);
HeapLim = LOCAL_GlobalBase;
return;
}