remove redundant store of DODEFER in CFA of deferred word
This commit is contained in:
parent
70c87e3d7a
commit
abedc84f1a
|
|
@ -190,13 +190,13 @@ DEFER QUIT
|
|||
|
||||
>>UTILITY
|
||||
|
||||
: DEFERRED? ( xt -- ) >CFA @ DODEFER <> EXCP-TYPE-MISMATCH AND THROW ;
|
||||
: DEFERRED? ( xt -- ) >CFA @ ▪ DODEFER <> ▪ EXCP-TYPE-MISMATCH AND ▪ THROW ;
|
||||
|
||||
>>FORTH
|
||||
|
||||
\ Fetch and store the target of the deferred word denoted by deferred-xt
|
||||
: DEFER@ ( deferred-xt -- xt ) DUP DEFERRED? >DFA @ ;
|
||||
: DEFER! ( xt deferred-xt -- ) DUP DEFERRED? DODEFER OVER >CFA ! >DFA ! ;
|
||||
: DEFER@ ( deferred-xt -- xt ) DUP DEFERRED? ▪ >DFA @ ;
|
||||
: DEFER! ( xt deferred-xt -- ) DUP DEFERRED? ▪ >DFA ! ;
|
||||
|
||||
>>LINUX
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue