[dylan-lang/opendylan] 0cacb4: Bug 7458: Improve primitive-instance? on known typ...
GitHub <[email protected]> Fri, 24 Jul 2015 22:29:51 -0700
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <55b31ecf2f780_f4c3fe3d54452c033188@hookshot-fe6-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: 0cacb40eaefc8efaa78ea44fa19b5a54117a5051
https://github.com/dylan-lang/opendylan/commit/0cacb40eaefc8efaa78ea44fa19b5a54117a5051
Author: Peter S. Housel <[email protected]>
Date: 2015-07-24 (Fri, 24 Jul 2015)
Changed paths:
M sources/dfmc/llvm-back-end/llvm-emit-computation.dylan
M sources/dfmc/llvm-back-end/llvm-emit-type-check.dylan
Log Message:
-----------
Bug 7458: Improve primitive-instance? on known types
* sources/dfmc/llvm-back-end/llvm-emit-computation.dylan
(emit-primitive-call): Special-case calls to primitive-instance? to
invoke do-emit-instance-cmp directly so that better code for checks
against known types can be generated.
* sources/dfmc/llvm-back-end/llvm-emit-type-check.dylan
(do-emit-instance-cmp): Add a method specialized on <object-reference>
that will delegate to one of the other methods based on the
referenced type object.
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter