Changeset 12650 for trunk/abcl/src/org/armedbear/lisp/compile-file.lisp
- Timestamp:
- 05/02/10 19:58:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/compile-file.lisp
r12626 r12650 70 70 (declaim (ftype (function (t) t) verify-load)) 71 71 (defun verify-load (classfile) 72 (if (> *safety* 0) 72 (if (> *safety* 0) 73 73 (and classfile 74 74 (let ((*load-truename* *output-file-pathname*)) … … 76 76 (load-compiled-function classfile)))) 77 77 t)) 78 78 79 79 (declaim (ftype (function (t) t) process-defconstant)) 80 80 (defun process-defconstant (form) … … 515 515 (namestring (namestring *compile-file-truename*)) 516 516 (start (get-internal-real-time)) 517 elapsed) 517 elapsed 518 *fasl-uninterned-symbols*) 518 519 (when *compile-verbose* 519 520 (format t "; Compiling ~A ...~%" namestring)) … … 528 529 (jvm::*functions-defined-in-current-file* '()) 529 530 (*fbound-names* '()) 530 (*fasl-anonymous-package* (%make-package))531 531 (*fasl-stream* out) 532 532 *forms-for-output*) … … 566 566 (write "; -*- Mode: Lisp -*-" :escape nil :stream out) 567 567 (%stream-terpri out) 568 (let ((*package* (find-package '#:cl)) 569 (count-sym (gensym))) 568 (let ((*package* (find-package '#:cl))) 570 569 (write (list 'init-fasl :version *fasl-version*) 571 570 :stream out) … … 574 573 :stream out) 575 574 (%stream-terpri out) 576 (dump-form `(dotimes (,count-sym ,*class-number*) 577 (function-preload 578 (%format nil "~A-~D.cls" 579 ,(substitute #\_ #\. (pathname-name output-file)) 580 (1+ ,count-sym)))) out) 575 ;; Note: Beyond this point, you can't use DUMP-FORM, 576 ;; because the list of uninterned symbols has been fixed now. 577 (when *fasl-uninterned-symbols* 578 (write (list 'setq '*fasl-uninterned-symbols* 579 (coerce (mapcar #'car 580 (nreverse *fasl-uninterned-symbols*)) 581 'vector)) 582 :stream out)) 583 (%stream-terpri out) 584 ;; we work with a fixed variable name here to work around the 585 ;; lack of availability of the circle reader in the fasl reader 586 ;; but it's a toplevel form anyway 587 (write `(dotimes (i ,*class-number*) 588 (function-preload 589 (%format nil "~A-~D.cls" 590 ,(substitute #\_ #\. (pathname-name output-file)) 591 (1+ i)))) 592 :stream out 593 :circle t) 581 594 (%stream-terpri out)) 582 595
Note: See TracChangeset
for help on using the changeset viewer.