make to compile on Xenix
This commit is contained in:
parent
4be6b2ae55
commit
e8931fe5de
1 changed files with 9 additions and 2 deletions
|
@ -559,8 +559,15 @@ unsigned stackupto(limit,ply,toplevel) token_p limit; {
|
|||
nallreg=0;
|
||||
totalcost+= codegen(&coderules[cp->c1_codep],ply,toplevel,MAXINT,0);
|
||||
tokpatlen = tpl;
|
||||
for (i=0;i<diff;i++)
|
||||
fakestack[stackheight++] = savestack[i];
|
||||
for (i=0;i<diff;i++) {
|
||||
fakestack[stackheight] = savestack[i];
|
||||
stackheight++;
|
||||
/* not cobmined in one statement;
|
||||
this poor Xenix C compiler sometimes
|
||||
gets failed assertions when you do
|
||||
that!
|
||||
*/
|
||||
}
|
||||
nallreg=nareg;
|
||||
for (i=0;i<nareg;i++)
|
||||
allreg[i] = areg[i];
|
||||
|
|
Loading…
Reference in a new issue