[PATCH] D14737: Convert some ObjC msgSends to runtime calls

John McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 18 16:21:54 PST 2015


rjmccall added inline comments.

================
Comment at: include/clang/Basic/ObjCRuntime.h:182
@@ +181,3 @@
+    switch (getKind()) {
+    case FragileMacOSX: return false;
+    case MacOSX: return getVersion() >= VersionTuple(10, 10);
----------------
I went ahead and asked Greg, and he agreed that it's best to not enable this on the Mac fragile runtime.  The functions exist, but they aren't profitable to call, other than a small code-size decrease.


http://reviews.llvm.org/D14737





More information about the cfe-commits mailing list