Changeset 13486
- Timestamp:
- 08/13/11 10:30:16 (11 years ago)
- Location:
- trunk/abcl/src/org/armedbear/lisp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp
r13485 r13486 4033 4033 "Creates a class file associated with `compiland`, writing it 4034 4034 either to stream or the pathname of the class file if `stream' is NIL." 4035 (let* ((pathname (funcall *pathnames-generator*)) 4036 (class-file (make-abcl-class-file 4037 :pathname pathname))) 4038 (setf (compiland-class-file compiland) class-file) 4035 (let* ((class-file (compiland-class-file compiland)) 4036 (pathname (abcl-class-file-pathname class-file))) 4039 4037 (with-open-stream (f (or stream 4040 4038 (open pathname :direction :output … … 4045 4043 (with-saved-compiler-policy 4046 4044 (p2-compiland compiland) 4047 ;; (finalize-class-file (compiland-class-file compiland))4048 4045 (finish-class (compiland-class-file compiland) f))))))) 4049 4046 … … 4139 4136 (defun p2-lambda (local-function target) 4140 4137 (let ((compiland (local-function-compiland local-function))) 4141 (aver (n ull (compiland-class-file compiland)))4138 (aver (not (null (compiland-class-file compiland)))) 4142 4139 (cond (*file-compilation* 4143 4140 (compile-and-write-to-stream compiland) … … 7094 7091 t) 7095 7092 7093 7094 (defun assign-field-and-class-name (local-function) 7095 (let* ((pathname (funcall *pathnames-generator*)) 7096 (class-file (make-abcl-class-file :pathname pathname)) 7097 (compiland (local-function-compiland local-function))) 7098 (setf (compiland-class-file compiland) class-file)) 7099 (setf (local-function-field local-function) 7100 (declare-local-function local-function))) 7101 7096 7102 (defknown p2-compiland (t) t) 7097 7103 (defun p2-compiland (compiland) … … 7144 7150 (code-add-attribute *current-code-attribute* table) 7145 7151 (line-numbers-add-line table 0 *source-line-number*))) 7152 7153 (dolist (local-function (compiland-children compiland)) 7154 (assign-field-and-class-name local-function)) 7146 7155 7147 7156 (dolist (var (compiland-arg-vars compiland)) -
trunk/abcl/src/org/armedbear/lisp/jvm.lisp
r13485 r13486 376 376 definition 377 377 compiland 378 field 378 379 inline-expansion 379 380 variable ;; the variable which contains the loaded compiled function
Note: See TracChangeset
for help on using the changeset viewer.