Load debugger.{unix,windows} later on in bootstrap, because lopading it before the optimizing compiler incurs a long delay on Windows as all the WinAPI bindings get loaded and parsed

db4
Slava Pestov 2010-05-06 17:41:00 -04:00
parent 627295f094
commit d215d691b5
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
USING: vocabs.loader sequences ; USING: vocabs.loader sequences system combinators ;
IN: bootstrap.tools IN: bootstrap.tools
{ {
@ -23,3 +23,8 @@ IN: bootstrap.tools
"vocabs.refresh" "vocabs.refresh"
"vocabs.refresh.monitor" "vocabs.refresh.monitor"
} [ require ] each } [ require ] each
{
{ [ os windows? ] [ "debugger.windows" require ] }
{ [ os unix? ] [ "debugger.unix" require ] }
} cond

View File

@ -355,8 +355,3 @@ M: not-found-in-roots summary drop "Cannot resolve vocab: path" ;
M: wrong-values summary drop "Quotation's stack effect does not match call site" ; M: wrong-values summary drop "Quotation's stack effect does not match call site" ;
M: stack-effect-omits-dashes summary drop "Stack effect must contain “--”" ; M: stack-effect-omits-dashes summary drop "Stack effect must contain “--”" ;
{
{ [ os windows? ] [ "debugger.windows" require ] }
{ [ os unix? ] [ "debugger.unix" require ] }
} cond