A modest proposal: eliminate template code bloat
Daniel Murphy
yebblies at nospamgmail.com
Sun Apr 8 17:59:26 PDT 2012
"Artur Skawina" <art.08.09 at gmail.com> wrote in message
news:mailman.1480.1333900846.4860.digitalmars-d at puremagic.com...
>
> Note that my point is just that the compiler needs to emit a dummy
> so that the addresses remain unique, eg
>
> module.f!uint:
> jmp module.f!int
>
Or use a nop slide before the start of the function. Since we're modifying
the object file format anyway, it would be trivial for the compiler to mark
functions which have their address taken as needing a unique address.
More information about the Digitalmars-d
mailing list