Changeset 887


Ignore:
Timestamp:
Sep 25, 2004, 5:31:07 PM (20 years ago)
Author:
Gary Byers
Message:

INSTANCE-SLOTS knows where to find slots in funcallable instances that aren't
GF's (from Tim Moore.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-clos-boot.lisp

    r812 r887  
    3333    (cond ((eql typecode target::subtag-instance) (instance.slots instance))
    3434          ((eql typecode target::subtag-macptr) (foreign-slots-vector instance))
    35           ((typep instance 'standard-generic-function) (gf.slots instance))
     35          ((or (typep instance 'standard-generic-function)
     36               (typep instance 'funcallable-standard-object))
     37           (gf.slots instance))
    3638          (t  (error "Don't know how to find slots of ~s" instance)))))
    3739
Note: See TracChangeset for help on using the changeset viewer.