Changeset 13150
- Timestamp:
- 01/15/11 19:49:11 (13 years ago)
- Location:
- branches/unsafe-p-removal/abcl/src/org/armedbear/lisp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/unsafe-p-removal/abcl/src/org/armedbear/lisp/jvm-class-file.lisp
r13078 r13150 1021 1021 (defun finalize-code-attribute (code parent class) 1022 1022 "Prepares the `code' attribute for serialization, within method `parent'." 1023 (declare (ignore parent))1024 1023 (let* ((handlers (code-exception-handlers code)) 1025 1024 (c (finalize-code … … 1029 1028 (mapcar #'exception-handler-pc handlers)) 1030 1029 t))) 1030 (invoke-callbacks :code-finalized class parent 1031 (coerce c 'list) handlers) 1031 1032 (unless (code-max-stack code) 1032 1033 (setf (code-max-stack code) -
branches/unsafe-p-removal/abcl/src/org/armedbear/lisp/jvm-instructions.lisp
r12941 r13150 722 722 (setf depth (+ depth instruction-stack)) 723 723 (setf (instruction-depth instruction) depth) 724 (unless (<= 0 depth) 725 (internal-compiler-error "Stack inconsistency detected ~ 726 in ~A at index ~D: ~ 727 negative depth ~S." 728 (compiland-name *current-compiland*) 729 i depth)) 724 730 (when (branch-p opcode) 725 731 (let ((label (car (instruction-args instruction)))) -
branches/unsafe-p-removal/abcl/src/org/armedbear/lisp/jvm.lisp
r13129 r13150 54 54 55 55 (defvar *enable-dformat* nil) 56 (defvar *callbacks* nil 57 "A list of functions to be called by the compiler and code generator 58 in order to generate 'compilation events'.") 59 60 (declaim (inline invoke-callbacks)) 61 (defun invoke-callbacks (&rest args) 62 (dolist (cb *callbacks*) 63 (apply cb args))) 56 64 57 65 #+nil
Note: See TracChangeset
for help on using the changeset viewer.