]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.tree.propagation.slots: remove unused word
authortimor <timor.dd@googlemail.com>
Tue, 19 May 2020 15:53:33 +0000 (17:53 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 19 May 2020 17:18:15 +0000 (10:18 -0700)
The last use of `length-accessor?` has been removed in
8e227bc874e356f1e292ab18d1bad1d48966746a, which obsoleted the `length` slot.

basis/compiler/tree/propagation/slots/slots.factor

index 0151a6b8f66c8217cdd51a0b843991705991ae9e..cfc67b1de9588f9e9c5a5d1f15bb4052e79ffd3b 100644 (file)
@@ -47,9 +47,6 @@ IN: compiler.tree.propagation.slots
         [ swap slot <literal-info> ]
     } 2&& ;
 
-: length-accessor? ( slot info -- ? )
-    [ 1 = ] [ length>> ] bi* and ;
-
 : value-info-slot ( slot info -- info' )
     {
         { [ over 0 = ] [ 2drop fixnum <class-info> ] }