]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.tree.propagation.call-effect: eliminate some dispatch from call( expansion
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Tue, 19 Jan 2010 08:08:45 +0000 (21:08 +1300)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Tue, 19 Jan 2010 08:08:45 +0000 (21:08 +1300)
basis/compiler/tree/propagation/call-effect/call-effect.factor

index 439b428784e3cb92c3d02bbb42c6d2f506bf6434..04320ee792b1b364ba2aae930c1554f9f17932dc 100644 (file)
@@ -74,7 +74,7 @@ M: quotation cached-effect
 : call-effect-unsafe? ( quot effect -- ? )
     [ cached-effect ] dip
     over +unknown+ eq?
-    [ 2drop f ] [ effect<= ] if ; inline
+    [ 2drop f ] [ [ { effect } declare ] dip effect<= ] if ; inline
 
 : (call-effect-slow>quot) ( in out effect -- quot )
     [