]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.units: fix call-next-method call site recompilation
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 29 Jan 2010 16:10:10 +0000 (05:10 +1300)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 29 Jan 2010 20:29:01 +0000 (09:29 +1300)
core/compiler/units/units.factor

index 386d5750bfe1cf985720ca8249b57095981ef8f0..9fe13ba3ed69e3722c5490d421b08ee0b797f649 100644 (file)
@@ -51,7 +51,8 @@ HOOK: update-call-sites compiler-impl ( class generic -- words )
 M: generic update-generic ( class generic -- )
     [ changed-call-sites ]
     [ remake-generic drop ]
-    2bi ;
+    [ changed-conditionally drop ]
+    2tri ;
 
 M: sequence update-methods ( class seq -- )
     implementors [ update-generic ] with each ;