X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fstatic-fn.lisp;h=231e0745b8a62a6e3b766582c9a63e3ffdb135c2;hb=4fc9d21ae1d8a6a2f8ff70f589d5da103203de13;hp=2989928c374e762dc0450ad697ca4e2d90924336;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/compiler/x86/static-fn.lisp b/src/compiler/x86/static-fn.lisp index 2989928..231e074 100644 --- a/src/compiler/x86/static-fn.lisp +++ b/src/compiler/x86/static-fn.lisp @@ -11,9 +11,6 @@ (in-package "SB!VM") -(file-comment - "$Header$") - (define-vop (static-function-template) (:save-p t) (:policy :safe) @@ -55,7 +52,7 @@ (let ((temp-name (intern (format nil "TEMP-~D" i)))) (temp-names temp-name) (temps `(:temporary (:sc descriptor-reg - :offset ,(nth i register-arg-offsets) + :offset ,(nth i *register-arg-offsets*) :from ,(if (< i num-args) `(:argument ,i) '(:eval 1)) @@ -108,7 +105,7 @@ ;; low tag of 3 is added the resulting value points to the ;; raw address slot of the fdefn (at +4). (inst call (make-ea :dword - :disp (+ *nil-value* + :disp (+ nil-value (static-function-offset function)))) ,(collect ((bindings) (links)) (do ((temp (temp-names) (cdr temp))