chiark / gitweb /
src/method-impl.lisp: Abolish the `emf-entry-tail' variable.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 Dec 2015 17:13:38 +0000 (17:13 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 May 2016 14:09:03 +0000 (15:09 +0100)
It's not different from `entry-args'.

src/method-impl.lisp

index f0fd3fc0311afa00d220bd8c41de1d215b50b9d6..db1e8d66a7aa0a56545efd08bd2851dd2ae6ff6e 100644 (file)
@@ -420,10 +420,9 @@ (defmethod compute-method-entry-functions ((method basic-effective-method))
         ;; Effective method function details.
         (emf-name (effective-method-function-name method))
         (ilayout-type (c-type (* (struct (ilayout-struct-tag class)))))
-        (emf-arg-tail (sod-message-no-varargs-tail message))
         (emf-type (c-type (fun (lisp return-type)
                                ("sod__obj" (lisp ilayout-type))
-                               . emf-arg-tail))))
+                               . entry-args))))
 
     (flet ((setup-entry (tail)
             (let ((head (sod-class-chain-head tail)))
@@ -516,7 +515,7 @@ (defmethod compute-method-entry-functions ((method basic-effective-method))
                  (effective-method-class method))
 
                 (let ((call (apply #'make-call-inst emf-name "sod__obj"
-                                   (mapcar #'argument-name emf-arg-tail))))
+                                   (mapcar #'argument-name entry-args))))
                   (dolist (tail chain-tails)
                     (setup-entry tail)
                     (deliver-expr codegen entry-target call)