Diff for /gforth/intcomp.fs between versions 1.13 and 1.15

version 1.13, 2007/12/31 19:02:24 version 1.15, 2010/12/31 18:09:02
Line 1 Line 1
 \ defining words for words with non-default and non-immediate compilation semantics  \ defining words for words with non-default and non-immediate compilation semantics
   
 \ Copyright (C) 1996,1997,2000,2003,2007 Free Software Foundation, Inc.  \ Copyright (C) 1996,1997,2000,2003,2007,2010 Free Software Foundation, Inc.
   
 \ This file is part of Gforth.  \ This file is part of Gforth.
   
Line 46  constant no-interpretation-does-code Line 46  constant no-interpretation-does-code
     latestxt interpret/compile-int @ r@ >body = and      latestxt interpret/compile-int @ r@ >body = and
     latestxt interpret/compile-comp @ r> = and      latestxt interpret/compile-comp @ r> = and
     0= abort" not created with create-interpret/compile"      0= abort" not created with create-interpret/compile"
     cell+ cell+ maxaligned /does-handler + \ to does-code      cell+ cell+ maxaligned \ to does-code
     swap @ does-code! ;      swap @ does-code! ;
   
 : (interpretation>1) ( addr R:retaddr -- )  : (interpretation>1) ( addr R:retaddr -- )
Line 54  constant no-interpretation-does-code Line 54  constant no-interpretation-does-code
   
 : interpretation> ( compilation. -- orig colon-sys ) \ gforth  : interpretation> ( compilation. -- orig colon-sys ) \ gforth
     here 4 cells +  POSTPONE literal POSTPONE (interpretation>1) POSTPONE ahead      here 4 cells +  POSTPONE literal POSTPONE (interpretation>1) POSTPONE ahead
     dodoes, defstart dead-code off 0 set-locals-size-list ; immediate restrict      defstart dead-code off 0 set-locals-size-list ; immediate restrict
   
 : <interpretation ( compilation. orig colon-sys -- ) \ gforth  : <interpretation ( compilation. orig colon-sys -- ) \ gforth
     ?struc POSTPONE exit      ?struc POSTPONE exit
Line 65  constant no-interpretation-does-code Line 65  constant no-interpretation-does-code
   
 : compilation> ( compilation. -- orig colon-sys ) \ gforth  : compilation> ( compilation. -- orig colon-sys ) \ gforth
     here 4 cells + POSTPONE literal POSTPONE (compilation>1) POSTPONE ahead      here 4 cells + POSTPONE literal POSTPONE (compilation>1) POSTPONE ahead
     dodoes, defstart dead-code off 0 set-locals-size-list POSTPONE >body ; immediate restrict      defstart dead-code off 0 set-locals-size-list POSTPONE >body ; immediate restrict
   
 comp' <interpretation drop  comp' <interpretation drop
 Alias <compilation ( compilation. orig colon-sys -- ) \ gforth  Alias <compilation ( compilation. orig colon-sys -- ) \ gforth

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


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