- Timestamp:
- 08/06/10 21:47:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generic-class-file/abcl/src/org/armedbear/lisp/jvm-class-file.lisp
r12863 r12866 882 882 labels ;; an alist 883 883 884 current-local) ;; used for handling nested WITH-CODE-TO-METHOD blocks884 (current-local 0)) ;; used for handling nested WITH-CODE-TO-METHOD blocks 885 885 886 886 … … 1047 1047 *register* (code-current-local code))) 1048 1048 1049 (defmacro with-code-to-method ((class-file method &key safe-nesting) &body body) 1049 (defmacro with-code-to-method ((class-file method &key (safe-nesting t)) 1050 &body body) 1050 1051 (let ((m (gensym)) 1051 1052 (c (gensym))) … … 1055 1056 (save-code-specials *current-code-attribute*)))) 1056 1057 (let* ((,m ,method) 1057 (,c (method-ensure-code method))1058 (,c (method-ensure-code ,method)) 1058 1059 (*pool* (class-file-constants ,class-file)) 1059 1060 (*code* (code-code ,c)) … … 1063 1064 ,@body 1064 1065 (setf (code-code ,c) *code* 1066 (code-current-local ,c) *register* 1065 1067 ;; (code-exception-handlers ,c) *handlers* 1066 1068 (code-max-locals ,c) *registers-allocated*))
Note: See TracChangeset
for help on using the changeset viewer.