One minute to twelve: last chance to fix D2 ABI?

Steve Teale steve.teale at britseyeview.com
Tue Mar 2 22:00:46 PST 2010


 
> * Binding a delegate to a function pointer will always need a (dynamic)
> thunk, because the function will have been invoked without any context
> pointer and it's the thunk's responsibility to assign the correct
> context pointer.

At present, D's way of handling delegates requires patching GCC for the 
GDC implementation. If an ABI change was made it would be nice if it 
fitted into the GCC trampoline model.

Steve



More information about the Digitalmars-d mailing list