X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fmcs51%2Fralloc.h;h=9d851a8fa99ca614f6aafd00e17ad7c6a03f5eb9;hb=45f3be401cb70e312b1185e96b9fc6279f930981;hp=cfb9584dcc08a6faac152ee701a3c93bc2ff6793;hpb=1034ff9e3b1d4b61d28de3d7b797b5c663a069f2;p=fw%2Fsdcc diff --git a/src/mcs51/ralloc.h b/src/mcs51/ralloc.h index cfb9584d..9d851a8f 100644 --- a/src/mcs51/ralloc.h +++ b/src/mcs51/ralloc.h @@ -47,15 +47,18 @@ enum /* definition for the registers */ typedef struct regs { - short type; /* can have value - REG_GPR, REG_PTR or REG_CND */ - short rIdx; /* index into register table */ + short type; /* can have value + REG_GPR, REG_PTR or REG_CND */ + short rIdx; /* index into register table */ short otype; - char *name; /* name */ - char *dname; /* name when direct access needed */ - char *base; /* base address */ - short offset; /* offset from the base */ - unsigned isFree:1; /* is currently unassigned */ + char *name; /* name */ + char *dname; /* name when direct access needed */ + char *base; /* base address */ + short offset; /* offset from the base */ + unsigned isFree:1; /* is currently unassigned */ + unsigned valueKnown:1; /* from rtrack.c */ + unsigned char value; /* from rtrack.c only valid when valueKnown is set */ + } regs; extern regs regs8051[];