Fix problem with words becoming uncompiled
parent
711d101154
commit
f4fdbd6a6c
|
@ -40,16 +40,16 @@ SYMBOL: current-label-start
|
||||||
compiled-stack-traces?
|
compiled-stack-traces?
|
||||||
compiling-word get f ?
|
compiling-word get f ?
|
||||||
1vector literal-table set
|
1vector literal-table set
|
||||||
f compiling-word get compiled get set-at ;
|
f compiling-label get compiled get set-at ;
|
||||||
|
|
||||||
: finish-compiling ( literals relocation labels code -- )
|
: save-machine-code ( literals relocation labels code -- )
|
||||||
4array compiling-label get compiled get set-at ;
|
4array compiling-label get compiled get set-at ;
|
||||||
|
|
||||||
: with-generator ( node word label quot -- )
|
: with-generator ( node word label quot -- )
|
||||||
[
|
[
|
||||||
>r begin-compiling r>
|
>r begin-compiling r>
|
||||||
{ } make fixup
|
{ } make fixup
|
||||||
finish-compiling
|
save-machine-code
|
||||||
] with-scope ; inline
|
] with-scope ; inline
|
||||||
|
|
||||||
GENERIC: generate-node ( node -- next )
|
GENERIC: generate-node ( node -- next )
|
||||||
|
|
Loading…
Reference in New Issue