From: sandeep Date: Wed, 14 Nov 2001 07:12:46 +0000 (+0000) Subject: Added spillA - flag set when spilt by register allocator X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=70fe73bde6188da1e58bc4b0f333fe3ef96c83a8;p=fw%2Fsdcc Added spillA - flag set when spilt by register allocator git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1588 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCsymt.h b/src/SDCCsymt.h index eacd5c3f..9b72775c 100644 --- a/src/SDCCsymt.h +++ b/src/SDCCsymt.h @@ -210,7 +210,6 @@ typedef struct symbol unsigned isinvariant:1; /* is a loop invariant */ unsigned isstrlit:1; /* is a string literal */ unsigned cdef:1; /* compiler defined symbol */ - unsigned allocreq:1; /* allocation is required for this variable */ unsigned addrtaken:1; /* address of the symbol was taken */ unsigned isreqv:1; /* is the register quivalent of a symbol */ unsigned udChked:1; /* use def checking has been already done */ @@ -220,6 +219,7 @@ typedef struct symbol if a better scheme for backend is thought of */ unsigned isLiveFcall:1; /* is live at or across a function call */ unsigned isspilt:1; /* has to be spilt */ + unsigned spillA:1; /* spilt be register allocator */ unsigned remat:1; /* can be remateriazed */ unsigned isptr:1; /* is a pointer */ unsigned uptr:1; /* used as a pointer */ @@ -240,6 +240,7 @@ typedef struct symbol is quite similar. */ + int allocreq ; /* allocation is required for this variable */ int stack; /* offset on stack */ int xstack; /* offset on xternal stack */ short nRegs; /* number of registers required */