31 lines
622 B
C
31 lines
622 B
C
/*
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
*/
|
|
/* $Id$ */
|
|
|
|
struct regvar {
|
|
struct regvar *rv_next;
|
|
long rv_off;
|
|
int rv_size;
|
|
int rv_type;
|
|
int rv_score;
|
|
int rv_reg;
|
|
};
|
|
|
|
struct regassigned {
|
|
struct regvar *ra_rv;
|
|
int ra_score;
|
|
};
|
|
|
|
extern struct regvar *rvlist;
|
|
extern int nregvar[];
|
|
extern struct regassigned *regassigned[];
|
|
|
|
struct regvar *linkreg(long, int, int, int);
|
|
void tryreg(struct regvar *, int);
|
|
void fixregvars(int);
|
|
int isregvar(long);
|
|
int isregtyp(long);
|
|
void unlinkregs(void);
|