[dylan-lang/opendylan] fc6f4e: Bug 7458: Fix generation of C-callable IEPs

GitHub <[email protected]> Thu, 21 Jan 2016 22:08:11 -0800
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <56a1c74bd8c63_5c3b3f858641b2c0109348@hookshot-fe5-cp1-prd.iad.github.net.mail>
----==_mimepart_56a1c74bd8897_5c3b3f858641b2c010922a
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: fc6f4e9ac4db65ab1cce395c360601f1d204446c
      https://github.com/dylan-lang/opendylan/commit/fc6f4e9ac4db65ab1cce395c360601f1d204446c
  Author: Peter S. Housel <[email protected]>
  Date:   2016-01-21 (Thu, 21 Jan 2016)

  Changed paths:
    M sources/dfmc/llvm-back-end/llvm-back-end-types.dylan
    M sources/dfmc/llvm-back-end/llvm-emit-code.dylan
    M sources/dfmc/llvm-back-end/llvm-emit-debug.dylan

  Log Message:
  -----------
  Bug 7458: Fix generation of C-callable IEPs

* sources/dfmc/llvm-back-end/llvm-back-end-types.dylan
  (llvm-c-function-type): Make applicable to <&c-callable-function>
   as wel as <&c-function>.

* sources/dfmc/llvm-back-end/llvm-emit-code.dylan
  (emit-code): Split out body into emit-code-aux.
  (emit-code-aux on <&function>): New method for generating argument lists
   and function types for ordinary Dylan IEPs.
  (emit-code-aux on <&c-callable-function>): New method for generating
   argument lists and function types for C-callable IEPs.
  (emit-lambda-body): New method for emitting the body of an IEP.

* sources/dfmc/llvm-back-end/llvm-emit-debug.dylan
  (emit-lambda-dbg-function): Add support for generating debug
   info for IEPs for <&c-callable-function>.



----==_mimepart_56a1c74bd8897_5c3b3f858641b2c010922a
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_56a1c74bd8897_5c3b3f858641b2c010922a--