X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Faliencomp.lisp;h=03de07c3a6c4089622c3f041ed8d51e57c917139;hb=a4882e3023fdd5e777169a4cbede33605281173c;hp=7b19ac5ff8334a92c6d8fddeb40e6bc7176603c8;hpb=471a5d32673a4c0db86949424d624e6ea3a6a633;p=sbcl.git diff --git a/src/compiler/aliencomp.lisp b/src/compiler/aliencomp.lisp index 7b19ac5..03de07c 100644 --- a/src/compiler/aliencomp.lisp +++ b/src/compiler/aliencomp.lisp @@ -675,11 +675,11 @@ (error "Something is broken."))) (lvar (node-lvar call)) (args args) - #!+win32 (stack-pointer (make-stack-pointer-tn))) + #!+(or (and x86 darwin) win32) (stack-pointer (make-stack-pointer-tn))) (multiple-value-bind (nsp stack-frame-size arg-tns result-tns) (make-call-out-tns type) #!+x86 (vop set-fpu-word-for-c call block) - #!+win32 (vop current-stack-pointer call block stack-pointer) + #!+(or (and x86 darwin) win32) (vop current-stack-pointer call block stack-pointer) (vop alloc-number-stack-space call block stack-frame-size nsp) (dolist (tn arg-tns) ;; On PPC, TN might be a list. This is used to indicate @@ -713,7 +713,7 @@ temp-tn nsp first-tn)) - #+(and ppc darwin) + #!+(and ppc darwin) (when (listp tn) ;; This means that we have a float arg that we need to ;; also copy to some int regs. The list contains the TN @@ -734,7 +734,7 @@ ((lvar-tn call block function) (reference-tn-list arg-tns nil)) ((reference-tn-list result-tns t)))) - #!-win32 (vop dealloc-number-stack-space call block stack-frame-size) - #!+win32 (vop reset-stack-pointer call block stack-pointer) + #!-(or (and darwin x86) win32) (vop dealloc-number-stack-space call block stack-frame-size) + #!+(or (and darwin x86) win32) (vop reset-stack-pointer call block stack-pointer) #!+x86 (vop set-fpu-word-for-lisp call block) (move-lvar-result call block result-tns lvar))))