diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-02-28 21:19:34 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-02-28 21:19:34 +0000 |
commit | 557c1ed522272791e332d910049c0f8af178f7ee (patch) | |
tree | 757c250c07c161d2d5f6b2670647cd2a742b2248 /clang/lib/CodeGen/CGObjCMac.cpp | |
parent | 0dc63104c683d40c6b05a2967a3d5d595e65fa39 (diff) | |
download | bcm5719-llvm-557c1ed522272791e332d910049c0f8af178f7ee.tar.gz bcm5719-llvm-557c1ed522272791e332d910049c0f8af178f7ee.zip |
Revert r126678.
llvm-svn: 126685
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCMac.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index 904466947c9..8dbd85f8b73 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/lib/CodeGen/CGObjCMac.cpp @@ -183,7 +183,7 @@ private: Params.push_back(SelectorPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), "objc_msgSend"); } @@ -194,7 +194,7 @@ private: Params.push_back(SelectorPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), - Params, false), + Params, true), "objc_msgSend_stret"); } @@ -209,7 +209,7 @@ private: CGM.CreateRuntimeFunction(llvm::FunctionType::get( llvm::Type::getDoubleTy(VMContext), Params, - false), + true), "objc_msgSend_fpret"); } @@ -221,7 +221,7 @@ private: Params.push_back(SuperPtrTy); Params.push_back(SelectorPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), SuperName); } @@ -232,7 +232,7 @@ private: Params.push_back(SuperPtrTy); Params.push_back(SelectorPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), SuperName); } @@ -245,7 +245,7 @@ private: Params.push_back(SelectorPtrTy); return CGM.CreateRuntimeFunction( llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), - Params, false), + Params, true), "objc_msgSendSuper_stret"); } @@ -258,7 +258,7 @@ private: Params.push_back(SelectorPtrTy); return CGM.CreateRuntimeFunction( llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), - Params, false), + Params, true), "objc_msgSendSuper2_stret"); } @@ -721,7 +721,7 @@ public: Params.push_back(ObjectPtrTy); Params.push_back(MessageRefPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), "objc_msgSend_fixup"); } @@ -731,7 +731,7 @@ public: Params.push_back(ObjectPtrTy); Params.push_back(MessageRefPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), "objc_msgSend_fpret_fixup"); } @@ -741,7 +741,7 @@ public: Params.push_back(ObjectPtrTy); Params.push_back(MessageRefPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), "objc_msgSend_stret_fixup"); } @@ -752,7 +752,7 @@ public: Params.push_back(SuperPtrTy); Params.push_back(SuperMessageRefPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), "objc_msgSendSuper2_fixup"); } @@ -763,7 +763,7 @@ public: Params.push_back(SuperPtrTy); Params.push_back(SuperMessageRefPtrTy); return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, - Params, false), + Params, true), "objc_msgSendSuper2_stret_fixup"); } @@ -5693,7 +5693,7 @@ CodeGen::RValue CGObjCNonFragileABIMac::EmitMessageSend( FunctionType::ExtInfo()); llvm::Value *Callee = CGF.Builder.CreateStructGEP(Arg1, 0); Callee = CGF.Builder.CreateLoad(Callee); - const llvm::FunctionType *FTy = Types.GetFunctionType(FnInfo1, false); + const llvm::FunctionType *FTy = Types.GetFunctionType(FnInfo1, true); Callee = CGF.Builder.CreateBitCast(Callee, llvm::PointerType::getUnqual(FTy)); return CGF.EmitCall(FnInfo1, Callee, Return, ActualArgs); |