]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.units: simplify checks.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 10 Mar 2013 16:36:35 +0000 (09:36 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 10 Mar 2013 16:36:35 +0000 (09:36 -0700)
core/compiler/units/units.factor

index 763461654c543b7ad30d284ee6189b57d787fb85..7623ca3ad518822e2493bcbb1489f5f4e6c6dea8 100644 (file)
@@ -138,7 +138,8 @@ M: object always-bump-effect-counter? drop f ;
     changed-effects get
     maybe-changed get
     changed-definitions get [ drop always-bump-effect-counter? ] assoc-filter
-    3array assoc-combine new-words get assoc-diff! assoc-empty? not ;
+    3array assoc-combine
+    new-words get [ nip key? not ] curry assoc-any? ;
 
 : bump-effect-counter ( -- )
     bump-effect-counter? [