From: sandeep Date: Tue, 18 Dec 2001 04:22:16 +0000 (+0000) Subject: Added _JavaNative & Overlay to funcattrs X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=288607900775f2250b2a865f14068ea4845239a8;p=fw%2Fsdcc Added _JavaNative & Overlay to funcattrs git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1699 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCsymt.h b/src/SDCCsymt.h index 8660ad3a..2d0c80c3 100644 --- a/src/SDCCsymt.h +++ b/src/SDCCsymt.h @@ -207,6 +207,8 @@ typedef struct sym_link unsigned intno; /* 1=Interrupt svc routine */ unsigned regbank; /* register bank 2b used */ unsigned builtin; /* is a builtin function */ + unsigned javaNative; /* is a JavaNative Function (TININative ONLY) */ + unsigned overlay; /* force parameters & locals into overlay segment */ } funcAttrs; struct sym_link *next; /* next element on the chain */ @@ -336,6 +338,10 @@ symbol; #define IFFUNC_ISCRITICAL(x) (IS_FUNC(x) && FUNC_ISCRITICAL(x)) #define FUNC_ISBUILTIN(x) (x->funcAttrs.builtin) #define IFFUNC_ISBUILTIN(x) (IS_FUNC(x) && FUNC_ISBUILTIN(x)) +#define FUNC_ISJAVANATIVE(x) (x->funcAttrs.javaNative) +#define IFFUNC_ISJAVANATIVE(x) (IS_FUNC(x) && FUNC_ISJAVANATIVE(x)) +#define FUNC_ISOVERLAY(x) (x->funcAttrs.overlay) +#define IFFUNC_ISOVERLAY(x) (IS_FUNC(x) && FUNC_ISOVERLAY(x)) // jwk: I am not sure about this #define IFFUNC_ISBANKEDCALL(x) (!IFFUNC_NONBANKED(x) && \