diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-05 19:35:43 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-05 19:35:43 +0000 |
commit | 1a6b3686bf5671075c5b217fcfc1840cb0aae172 (patch) | |
tree | f198e5fd2534049a64e9fe736e6bc35466dca4fe /lib/CodeGen/CGObjCMac.cpp | |
parent | 7dda67d8decef1b3621a151488c4b83bd8372d6a (diff) |
More objc2's API chanes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCMac.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 0276084d28..4d4d130b8f 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -4316,7 +4316,9 @@ CodeGen::RValue CGObjCNonFragileABIMac::EmitMessageSend( 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"; } |