Changeset 7789
- Timestamp:
- Nov 30, 2007, 10:31:17 AM (17 years ago)
- File:
-
- 1 edited
-
branches/working-0711/ccl/level-1/l1-clos.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/level-1/l1-clos.lisp
r7782 r7789 1869 1869 ;;; Return a lambda form or NIL. 1870 1870 (defun make-instantiate-lambda-for-class-cell (cell) 1871 (let* ((class (class-cell-class cell))) 1871 (let* ((class (class-cell-class cell))) 1872 1872 (when (and (typep class 'standard-class) 1873 (progn (unless (class-finalized-p class) 1874 (finalize-inheritance class)) 1875 t) 1873 1876 (null (cdr (compute-applicable-methods #'allocate-instance (list class)))) 1874 1877 (let* ((proto (class-prototype class))) … … 1946 1949 ;;; involving reader methods. 1947 1950 1948 (defun snap-reader-methods (&key known-sealed-world (check-conflicts t)) 1951 (defun snap-reader-methods (&key known-sealed-world 1952 (check-conflicts t) 1953 (optimize-make-instance t)) 1949 1954 (declare (ignore check-conflicts)) 1950 1955 (unless known-sealed-world 1951 1956 (cerror "Proceed, if it's known that no new classes or methods will be defined." 1952 1957 "Optimizing reader methods in this way is only safe if it's known that no new classes or methods will be defined.")) 1958 (when optimize-make-instance 1959 (optimize-named-class-make-instance-methods)) 1953 1960 (let* ((ngf 0) 1954 1961 (nwin 0))
Note:
See TracChangeset
for help on using the changeset viewer.
