]> gitweb.factorcode.org Git - factor.git/commitdiff
Bug fix in method inlining
authorDaniel Ehrenberg <littledan@pool-224-36.res.carleton.edu>
Sun, 25 Apr 2010 07:56:23 +0000 (02:56 -0500)
committerDaniel Ehrenberg <littledan@pool-224-36.res.carleton.edu>
Tue, 4 May 2010 21:46:39 +0000 (16:46 -0500)
basis/compiler/tree/propagation/inlining/inlining.factor

index f33718a8b6b7a4605a5968cc5c5813502d36daff..32e2fd0bd25e5171ba46884936e3d0349ad19b75 100644 (file)
@@ -51,12 +51,12 @@ M: callable splicing-nodes splicing-body ;
 ERROR: bad-splitting class generic ;
 
 :: split-code ( class generic -- quot/f )
-    class generic method-for-class :> method
-    method [ class generic bad-splitting ] unless
+    class generic method :> my-method
+    my-method [ class generic bad-splitting ] unless
     generic dispatch# (picker) :> picker
     [
         picker call class instance?
-        [ method execute ]
+        [ my-method execute ]
         [ generic no-method ] if
     ] ;