compiler: more informative trace-compilation
parent
2b49600f42
commit
26152bd83c
|
@ -193,7 +193,8 @@ M: optimizing-compiler recompile ( words -- alist )
|
||||||
] each
|
] each
|
||||||
compile-queue get compile-loop
|
compile-queue get compile-loop
|
||||||
compiled get >alist
|
compiled get >alist
|
||||||
] with-scope ;
|
] with-scope
|
||||||
|
"trace-compilation" get [ "--- compile done" print flush ] when ;
|
||||||
|
|
||||||
: with-optimizer ( quot -- )
|
: with-optimizer ( quot -- )
|
||||||
[ optimizing-compiler compiler-impl ] dip with-variable ; inline
|
[ optimizing-compiler compiler-impl ] dip with-variable ; inline
|
||||||
|
|
Loading…
Reference in New Issue