X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fx86-64%2Fstatic-fn.lisp;h=8760e33d31baf96508781ecc726eddbb0f9b9740;hb=534ad97e08a9725fb4c9618f47602d7e83583600;hp=e0b76ca1330b703fcf9649a82aa6165eca2f2ebc;hpb=952d16ab5880823c1864eb9105bb269e2e00760d;p=sbcl.git diff --git a/src/compiler/x86-64/static-fn.lisp b/src/compiler/x86-64/static-fn.lisp index e0b76ca..8760e33 100644 --- a/src/compiler/x86-64/static-fn.lisp +++ b/src/compiler/x86-64/static-fn.lisp @@ -79,7 +79,7 @@ ;; effect of the ENTER with discrete instructions. Takes ;; 3+4+4=11 bytes as opposed to 1+4=5 bytes. (cond ((policy ,node (>= speed space)) - (inst sub rsp-tn (fixnumize 3)) + (inst sub rsp-tn (* 3 n-word-bytes)) (inst mov (make-ea :qword :base rsp-tn :disp (frame-byte-offset (+ sp->fp-offset @@ -94,7 +94,7 @@ (t ;; Dummy for return address. (inst push rbp-tn) - (inst enter (fixnumize 1)))) + (inst enter n-word-bytes))) ,(if (zerop num-args) '(inst xor ecx ecx) @@ -137,7 +137,8 @@ (default-unknown-values vop ,(if (zerop num-results) nil 'values) - ,num-results))) + ,num-results + ,node))) ,@(moves (result-names) (temp-names))))))) ) ; EVAL-WHEN