]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/cfg/branch-splitting/branch-splitting.factor
factor: rename count-by back to count. count* -> percent-of
[factor.git] / basis / compiler / cfg / branch-splitting / branch-splitting.factor
index f6047e99256a179ae9751a69d19059104faf7462..3ed216117c82a96ed2112b1da0659ff1f7fcf9ee 100644 (file)
@@ -49,7 +49,7 @@ IN: compiler.cfg.branch-splitting
 
 UNION: irrelevant ##peek ##replace ##inc ;
 
-: split-instructions? ( insns -- ? ) [ irrelevant? not ] count-by 5 <= ;
+: split-instructions? ( insns -- ? ) [ irrelevant? not ] count 5 <= ;
 
 : short-tail-block? ( bb -- ? )
     { [ successors>> empty? ] [ instructions>> length 2 = ] } 1&& ;