builder: do require before run

db4
Eduardo Cavazos 2008-02-17 20:44:34 -06:00
parent 949c7f9a0a
commit 514cbe8a32
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ continuations debugger ;
IN: benchmark
: run-benchmark ( vocab -- result )
[ [ run ] benchmark ] [ error. drop f f ] recover 2array ;
[ dup require [ run ] benchmark ] [ error. drop f f ] recover 2array ;
: run-benchmarks ( -- assoc )
"benchmark" all-child-vocabs values concat [ vocab-name ] map