small fixes to avoid using global reg.

This commit is contained in:
Vítor Santos Costa
2011-10-02 16:18:09 -03:00
parent bab27a5761
commit 36d20477fb
5 changed files with 11 additions and 6 deletions

View File

@@ -1630,6 +1630,7 @@ Yap_InitYaamRegs(void)
H = H0 = ((CELL *) LOCAL_GlobalBase)+ Yap_AttsSize/sizeof(CELL);
RESET_VARIABLE(H0-1);
LCL0 = ASP = (CELL *) LOCAL_LocalBase;
CurrentTrailTop = (tr_fr_ptr)LOCAL_TrailTop;
/* notice that an initial choice-point and environment
*must* be created since for the garbage collector to work */
B = NULL;