added stackheight computation

This commit is contained in:
eck
1990-07-18 14:33:07 +00:00
parent 4565dd1dc0
commit c08f3b3c80
18 changed files with 358 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ static char rcsid[] = "$Header$";
#include <stdio.h>
#include "param.h"
#include "types.h"
#include "shc.h"
#include "assert.h"
#include "alloc.h"
#include "line.h"
@@ -171,6 +172,16 @@ oldnum(lp) num_p lp; {
oldcore((short *) lp,sizeof(num_t));
}
lblst_p newlblst() {
return((lblst_p) newcore(sizeof(lblst_t)));
}
oldlblst(lbp) lblst_p lbp; {
oldcore((short *) lbp, sizeof(lblst_t));
}
offset *newrom() {
return((offset *) newcore(MAXROM*sizeof(offset)));