Am Donnerstag, den 11.06.2009, 17:38 +0100 schrieb David Chisnall: > On 11 Jun 2009, at 17:16, David Ayers wrote: > > > Am Donnerstag, den 11.06.2009, 12:36 +0100 schrieb David Chisnall: > > > >> Clang definitely needs more testing, but I've been using it recently > >> to compile some of the Étoilé frameworks and they seem to work > >> nicely. I've recently been playing with some (very preliminary so > >> far) support for speculative inlining, so if the compiler can > >> correctly guess the called method then we can inline it and avoid the > >> call overhead. > > > > Inlining /method/ calls? How does that work with categories? > > It still calls objc_msg_lookup (you can avoid this with the Étoilé > runtime but not with the GNU one), but if the result is the expected > function pointer then it uses the inline implementation instead. In > some situations, the inline version will benefit a lot from constant > propagation. In others you're just saving the call overhead.
Cool! Thanks. Cheers, David -- David Ayers Fellow of the Free Software Foundation Europe http://www.fsfe.org http://fellowship.fsfe.org _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
