"Artur Skawina" <art.08...@gmail.com> wrote in message news:mailman.1480.1333900846.4860.digitalmar...@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.