X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fcore.lisp;h=7e03a242503342ac763d0f6a293890f86e9fa545;hb=4af254de85367806d14ccafc4dfbe79a235b926d;hp=4fa0787192c0dc3db8adeee9a231caea1cb5f165;hpb=b953c186cfe68e48801cb54715da0120c9580888;p=sbcl.git diff --git a/src/compiler/generic/core.lisp b/src/compiler/generic/core.lisp index 4fa0787..7e03a24 100644 --- a/src/compiler/generic/core.lisp +++ b/src/compiler/generic/core.lisp @@ -42,14 +42,14 @@ (values)) ;;; Do "load-time" fixups on the code vector. -(defun do-core-fixups (code fixups) - (declare (list fixups)) - (dolist (info fixups) - (let* ((kind (first info)) - (fixup (second info)) +(defun do-core-fixups (code fixup-notes) + (declare (list fixup-notes)) + (dolist (note fixup-notes) + (let* ((kind (fixup-note-kind note)) + (fixup (fixup-note-fixup note)) + (position (fixup-note-position note)) (name (fixup-name fixup)) (flavor (fixup-flavor fixup)) - (offset (third info)) (value (ecase flavor (:assembly-routine (aver (symbolp name)) @@ -63,7 +63,7 @@ (:code-object (aver (null name)) (values (get-lisp-obj-address code) t))))) - (sb!vm:fixup-code-object code offset value kind)))) + (sb!vm:fixup-code-object code position value kind)))) ;;; Stick a reference to the function FUN in CODE-OBJECT at index I. If the ;;; function hasn't been compiled yet, make a note in the patch table.