fixes for modules, buffering, YP_*, live vars for gc, and nth(0).

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@20 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2001-04-27 16:02:43 +00:00
parent 70dda6cc70
commit 1a8009654f
16 changed files with 247 additions and 70 deletions

View File

@@ -2318,7 +2318,7 @@ copy_live_temps_bmap(int max)
*ptr = 0L;
}
/* set the register live bit */
if (Uses[i]) {
if (Contents[i]) {
int j = i%(8*CellSize);
*ptr |= (1<<j);
}
@@ -2535,7 +2535,7 @@ c_layout(void)
cpc = icpc;
max = 0;
for (i = 1; i < MaxCTemps; ++i) {
if (Uses[i]) max = i;
if (Contents[i]) max = i;
}
emit(label_op, ++labelno, Zero);
mycpc->rnd1 = labelno;