mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-02 22:43:33 +00:00
Once and only once for code in GetXXX68k() and GetXXXnew() macros
This commit is contained in:
12
inc/cell.h
12
inc/cell.h
@@ -377,20 +377,16 @@ struct cadr_cell {
|
|||||||
#else
|
#else
|
||||||
/* Good for old LITATOMS and new NEW-ATOMs */
|
/* Good for old LITATOMS and new NEW-ATOMs */
|
||||||
#define GetDEFCELL68k(index) \
|
#define GetDEFCELL68k(index) \
|
||||||
((((index) & SEGMASK) != 0) ? (LispPTR *)(Addr68k_from_LADDR(index) + NEWATOM_DEFN_OFFSET) \
|
((((index) & SEGMASK) != 0) ? GetDEFCELLnew(index) : GetDEFCELLlitatom(index))
|
||||||
: GetDEFCELLlitatom(index))
|
|
||||||
|
|
||||||
#define GetVALCELL68k(index) \
|
#define GetVALCELL68k(index) \
|
||||||
((((index) & SEGMASK) != 0) ? (LispPTR *)(Addr68k_from_LADDR(index) + NEWATOM_VALUE_OFFSET) \
|
((((index) & SEGMASK) != 0) ? GetVALCELLnew(index) : GetVALCELLlitatom(index))
|
||||||
: GetVALCELLlitatom(index))
|
|
||||||
|
|
||||||
#define GetPnameCell(index) \
|
#define GetPnameCell(index) \
|
||||||
((((index) & SEGMASK) != 0) ? (LispPTR *)(Addr68k_from_LADDR(index) + NEWATOM_PNAME_OFFSET) \
|
((((index) & SEGMASK) != 0) ? GetPnameCellnew(index) : GetPnameCelllitatom(index))
|
||||||
: GetPnameCelllitatom(index))
|
|
||||||
|
|
||||||
#define GetPropCell(index) \
|
#define GetPropCell(index) \
|
||||||
((((index) & SEGMASK) != 0) ? (LispPTR *)(Addr68k_from_LADDR(index) + NEWATOM_PLIST_OFFSET) \
|
((((index) & SEGMASK) != 0) ? GetPropCellnew(index) : GetPropCelllitatom(index))
|
||||||
: GetPropCelllitatom(index))
|
|
||||||
|
|
||||||
/* Good only for old-style LITATOMS */
|
/* Good only for old-style LITATOMS */
|
||||||
#ifdef BIGVM
|
#ifdef BIGVM
|
||||||
|
|||||||
Reference in New Issue
Block a user