many minor corrections

This commit is contained in:
ceriel
1987-05-18 15:57:33 +00:00
parent e0c3807b29
commit 946006fb08
15 changed files with 193 additions and 186 deletions

View File

@@ -67,7 +67,6 @@ CodeValue(ds, size, al)
/* Generate code to load the value of the designator described
in "ds"
*/
arith tmp = 0;
switch(ds->dsg_kind) {
case DSG_LOADED:
@@ -100,14 +99,16 @@ CodeValue(ds, size, al)
break;
}
if (ds->dsg_kind == DSG_PLOADED) {
tmp = NewPtr();
C_stl(tmp);
arith sz = WA(size) - pointer_size;
C_asp(-sz);
C_lor((arith) 1);
C_adp(sz);
C_loi(pointer_size);
}
C_asp(-WA(size));
if (!tmp) CodeAddress(ds);
else {
C_lol(tmp);
FreePtr(tmp);
else {
C_asp(-WA(size));
CodeAddress(ds);
}
C_loc(size);
C_cal("_load");
@@ -300,6 +301,7 @@ CodeMove(rhs, left, rtp)
}
{
arith tmp;
extern arith NewPtr();
if (loadedflag) {
tmp = NewPtr();