More objc2's API chanes.

llvm-svn: 63878
This commit is contained in:
Fariborz Jahanian 2009-02-05 19:35:43 +00:00
parent 700792c4e4
commit 4f9d349e07
1 changed files with 3 additions and 1 deletions

View File

@ -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";
}