X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fc-call.lisp;h=8cfd2e72bfffcef986278a853c11ecaef67e53b4;hb=d147d512602d761a2dcdfded506dd1a8f9a140dc;hp=aff5e1d02972d128771318bb355957b9572deda5;hpb=77360ee4a1f94c41b807be7ad0e8687199fceef1;p=sbcl.git diff --git a/src/compiler/x86/c-call.lisp b/src/compiler/x86/c-call.lisp index aff5e1d..8cfd2e7 100644 --- a/src/compiler/x86/c-call.lisp +++ b/src/compiler/x86/c-call.lisp @@ -12,7 +12,7 @@ (in-package "SB!VM") -;; The move-argument vop is going to store args on the stack for +;; The MOVE-ARGUMENT vop is going to store args on the stack for ;; call-out. These tn's will be used for that. move-arg is normally ;; used for things going down the stack but C wants to have args ;; indexed in the positive direction. @@ -22,7 +22,7 @@ (sc-number-or-lose sc-name) offset)) -(defstruct arg-state +(defstruct (arg-state (:copier nil)) (stack-frame-size 0)) (def-alien-type-method (integer :arg-tn) (type state) @@ -61,7 +61,7 @@ (setf (arg-state-stack-frame-size state) (1+ stack-frame-size)) (my-make-wired-tn 'single-float 'single-stack stack-frame-size))) -(defstruct result-state +(defstruct (result-state (:copier nil)) (num-results 0)) (defun result-reg-offset (slot) @@ -194,7 +194,7 @@ (:info amount) (:results (result :scs (sap-reg any-reg))) (:generator 0 - (assert (location= result esp-tn)) + (aver (location= result esp-tn)) (unless (zerop amount) (let ((delta (logandc2 (+ amount 3) 3))) (inst sub esp-tn delta))) @@ -211,7 +211,7 @@ (:info amount) (:results (result :scs (sap-reg any-reg))) (:generator 0 - (assert (not (location= result esp-tn))) + (aver (not (location= result esp-tn))) (unless (zerop amount) (let ((delta (logandc2 (+ amount 3) 3))) (inst sub (make-ea :dword