- Timestamp:
- May 7, 2008, 4:38:23 PM (17 years ago)
- Location:
- branches/working-0711/ccl
- Files:
-
- 2 edited
-
compiler/optimizers.lisp (modified) (1 diff)
-
level-1/l1-clos.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/compiler/optimizers.lisp
r9389 r9390 643 643 (parse-unknown-type (c) (values nil (parse-unknown-type-specifier c))) 644 644 (error () nil))) 645 646 #+debugging-version 647 (defun specifier-type-if-known (typespec &optional env) 648 (handler-bind ((parse-unknown-type (lambda (c) 649 (break "caught unknown-type ~s" c) 650 (return-from specifier-type-if-known 651 (values nil (parse-unknown-type-specifier c))))) 652 (error (lambda (c) 653 (break "caught error ~s" c) 654 (return-from specifier-type-if-known nil)))) 655 (specifier-type typespec env))) 645 656 646 657 -
branches/working-0711/ccl/level-1/l1-clos.lisp
r9365 r9390 154 154 (defmethod class-default-initargs ((class class))) 155 155 (defmethod class-direct-default-initargs ((class class))) 156 157 (defmethod compile-time-class-p ((class class)) nil) 156 158 157 159 (defmethod direct-slot-definition-class ((class std-class) &key (allocation :instance) &allow-other-keys) … … 572 574 (let* ((fwdref (scan-forward-refs s seen))) 573 575 (when fwdref (return fwdref))))))))) 574 (scan-forward-refs original ()))) 576 (or (compile-time-class-p original) 577 (scan-forward-refs original ())))) 575 578 576 579 (defun class-forward-referenced-superclasses (original) … … 625 628 (finalize-inheritance class) 626 629 (return-from update-class)) 627 (when (or finalizep 628 (class-finalized-p class) 629 (not (class-has-a-forward-referenced-superclass-p class))) 630 (when (or finalizep (class-finalized-p class)) 630 631 (let* ((cpl (update-cpl class (compute-class-precedence-list class)))) 631 632 ;; This -should- be made to work for structure classes … … 1201 1202 ;;; For %compile-time-defclass 1202 1203 (defclass compile-time-class (class) ()) 1204 1205 (defmethod compile-time-class-p ((class compile-time-class)) 1206 t) 1207 1208 (defmethod class-finalized-p ((class compile-time-class)) 1209 nil) 1203 1210 1204 1211
Note:
See TracChangeset
for help on using the changeset viewer.
