[cfe-commits] [PATCH] Add -fobjc-direct-class-refs

Jonathan Schleifer js at webkeks.org
Wed Jul 11 02:43:29 PDT 2012

I implemented my runtime now using the new method for selecting runtimes implemented by John. Thanks a lot, John, it was very straightforward to add the runtime now!

Attached is a patch that adds -fobjc-runtime=objfw. It would be nice if this could be imported upstream.

It also allows subscripting using my runtime. I did not see any reason why this was restricted to the non-fragile ABI. I assume this was done in order to prevent the use of subscripts on old OS X systems which are missing the library part for them? If so, wouldn't it make sense to only forbid if when the runtime is the fragile Apple runtime?

PS: Please CC me as I'm still not on the list.


More information about the cfe-commits mailing list