Diff for /gforth/Attic/386.h between versions 1.12 and 1.15

version 1.12, 1996/07/16 20:57:05 version 1.15, 1997/03/04 17:49:45
Line 56 Line 56
   
 /* this is the point where the does code starts if label points to the  /* this is the point where the does code starts if label points to the
  * jump dodoes */   * jump dodoes */
 #define DOES_HANDLER_SIZE       8  
 #define DOES_CODE(xt) \  #define DOES_CODE(xt) \
 ({ long _xt = (long)(CODE_ADDRESS(xt)); \  ({ long _xt = (long)(xt); \
    (((*(unsigned char *)(xt)) == CALL) && \     long _ca = (long)(CODE_ADDRESS(_xt)); \
     ((*(unsigned char *)_xt) == JMP) && \     ((((*(unsigned char *)_xt) == CALL) \
     ((long)(CODE_ADDRESS(_xt)) == (long)symbols[DODOES])) ? \       && ((*(unsigned char *)_ca) == JMP) \
       _xt+DOES_HANDLER_SIZE : 0L; })       && ((long)(CODE_ADDRESS(_ca)) == (long)&&dodoes)) \
       ? _ca+DOES_HANDLER_SIZE : 0L); })
   
 /* this is a special version of DOES_CODE for use in dodoes */  /* this is a special version of DOES_CODE for use in dodoes */
 #define DOES_CODE1(label)      (CODE_ADDRESS(label)+DOES_HANDLER_SIZE)  #define DOES_CODE1(label)      (CODE_ADDRESS(label)+DOES_HANDLER_SIZE)

Removed from v.1.12  
changed lines
  Added in v.1.15


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>