[dylan-lang/opendylan] 996be4: [dfmc] Simplify <&objc-msgsend>.

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <55333a8b57df0_1bc43faa64f372a083066@hookshot-fe5-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 996be4913a6b9a7d75e1213510c971d23fbd9d28
      https://github.com/dylan-lang/opendylan/commit/996be4913a6b9a7d75e1213510c971d23fbd9d28
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-04-19 (Sun, 19 Apr 2015)

  Changed paths:
    M sources/dfmc/back-end/heaps.dylan
    M sources/dfmc/c-back-end/c-emit-c-computation.dylan
    M sources/dfmc/flow-graph/dfm-copier.dylan

  Log Message:
  -----------
  [dfmc] Simplify <&objc-msgsend>.

Now that <&objc-msgsend> is a subclass of <&c-function>, we can
simplify some of the implementation to use existing code from
the handling of <&c-function>.

* sources/dfmc/back-end/heaps.dylan
  (maybe-claim-heap-element on <&objc-msgsend>): Remove specialization.

* sources/dfmc/c-back-end/c-emit-c-computation.dylan
  (emit-call on <&objc-msgsend>): Remove specialization.
  (emit-primitive-call on <&objc-msgsend>): Update to use
    emit-c-function-arguments instead of emit-objc-msgsend-arguments.
  (emit-objc-msgsend-arguments): Remove as this was a duplicate of
    emit-c-function-arguments.

* sources/dfmc/flow-graph/dfm-copier.dylan
  (deep-copy on <&objc-msgsend>): Remove specialization.


  Commit: b74a0e6c41332c78c5ea8adf32932f7a73488c39
      https://github.com/dylan-lang/opendylan/commit/b74a0e6c41332c78c5ea8adf32932f7a73488c39
  Author: Peter S. Housel <[email protected]>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M sources/dfmc/back-end/heaps.dylan
    M sources/dfmc/c-back-end/c-emit-c-computation.dylan
    M sources/dfmc/flow-graph/dfm-copier.dylan

  Log Message:
  -----------
  Merge pull request #886 from waywardmonkeys/simplify-objc-msgsend

[dfmc] Simplify <&objc-msgsend>.


Compare: https://github.com/dylan-lang/opendylan/compare/e58759e44d8e...b74a0e6c4133

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.