X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/7f2917d28642cfbdf590ff26f0cdd91a79b1c489..e43d353268fc869045f757932d78d6073db9de6e:/src/method-impl.lisp?ds=inline diff --git a/src/method-impl.lisp b/src/method-impl.lisp index 6f6caad..6f22a14 100644 --- a/src/method-impl.lisp +++ b/src/method-impl.lisp @@ -7,7 +7,7 @@ ;;;----- Licensing notice --------------------------------------------------- ;;; -;;; This file is part of the Sensble Object Design, an object system for C. +;;; This file is part of the Sensible Object Design, an object system for C. ;;; ;;; SOD is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by @@ -455,13 +455,15 @@ (defmethod compute-method-entry-functions ((method basic-effective-method)) . raw-entry-args)))) (codegen-push codegen) (ensure-var codegen *sod-ap* (c-type va-list)) - (emit-inst codegen - (make-va-start-inst *sod-ap* - (argument-name parm-n))) (convert-stmts codegen entry-target return-type (lambda (target) - (deliver-expr codegen target call))) - (emit-inst codegen (make-va-end-inst *sod-ap*)) + (emit-inst codegen + (make-va-start-inst + *sod-ap* + (argument-name parm-n))) + (deliver-expr codegen target call) + (emit-inst codegen + (make-va-end-inst *sod-ap*)))) (codegen-pop-function codegen main main-type)))))) ;; Generate the method body. We'll work out what to do with it later.