compiler: more informative trace-compilation

Slava Pestov 2009-06-05 17:32:37 -05:00
parent 2b49600f42
commit 26152bd83c
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,8 @@ M: optimizing-compiler recompile ( words -- alist )
] each
compile-queue get compile-loop
compiled get >alist
] with-scope ;
] with-scope
"trace-compilation" get [ "--- compile done" print flush ] when ;
: with-optimizer ( quot -- )
[ optimizing-compiler compiler-impl ] dip with-variable ; inline