[cfe-commits] r63878 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Fariborz Jahanian
fjahanian at apple.com
Thu Feb 5 11:35:43 PST 2009
Author: fjahanian
Date: Thu Feb 5 13:35:43 2009
New Revision: 63878
URL: http://llvm.org/viewvc/llvm-project?rev=63878&view=rev
Log:
More objc2's API chanes.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=63878&r1=63877&r2=63878&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Thu Feb 5 13:35:43 2009
@@ -4316,7 +4316,9 @@
Name += "objc_msgSend_stret_fixup";
}
}
- else if (ResultType->isFloatingType()) {
+ else if (ResultType->isFloatingType() &&
+ // Selection of frret API only happens in 32bit nonfragile ABI.
+ CGM.getTargetData().getTypePaddedSize(ObjCTypes.LongTy) == 4) {
Fn = ObjCTypes.MessageSendFpretFixupFn;
Name += "objc_msgSend_fpret_fixup";
}
More information about the cfe-commits
mailing list