src/method-impl.lisp: Mark `sod__obj' as ignorable in effective methods.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 2 Aug 2017 11:25:34 +0000 (12:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000 (19:58 +0100)
Very trivial effective methods don't need this, and the warnings are
annoying.

src/method-impl.lisp

index 9f1a48f..cbc7537 100644 (file)
               (codegen-push codegen)
               (ensure-var codegen "sod__obj" ilayout-type
                           (make-convert-to-ilayout-inst class
-                                                        head "me"))))
+                                                        head "me"))
+              (deliver-call codegen :void "SOD__IGNORE" "sod__obj")))
           (finish-entry (tail)
             (let* ((head (sod-class-chain-head tail))
                    (role (if parm-n :valist nil))