On 11 Apr 2012, at 2:58, Alex Rønne Petersen wrote:
I just sent this:
https://github.com/D-Programming-Language/druntime/pull/193
It doesn't currently work, because DMD has some hacks in toir.c (I
think) to match intrinsics like bts, bsr, bsf. Quite frankly, I don't
get how this works.
DMD matches the intrinsics by mangled name. Unless I'm mistaken, it
should be enough to just update the name table arrays – look for the
mangled names of the current runtime functions, and then replace them
with the new manglings (@safe, … are reflected in the attribute part).
David
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals