diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-07-14 23:39:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-07-14 23:39:36 +0000 |
commit | 6f2e839693ea64932e37f2e20b881065170035d9 (patch) | |
tree | d96a4c38f9835e88b403106566ce17e1b9b553d6 /clang/lib/CodeGen/CGBlocks.cpp | |
parent | 37d91d84af790736d526fb3e43359baed23a831e (diff) | |
download | bcm5719-llvm-6f2e839693ea64932e37f2e20b881065170035d9.tar.gz bcm5719-llvm-6f2e839693ea64932e37f2e20b881065170035d9.zip |
CodeGen/ObjC/NeXT: Fix Obj-C message send to match llvm-gcc when choosing
whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI
dependent.
- <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug
llvm-svn: 108379
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index 0d05a62138a..cb9e6362218 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/lib/CodeGen/CGBlocks.cpp @@ -253,7 +253,7 @@ llvm::Value *CodeGenFunction::BuildBlockLiteralTmp(const BlockExpr *BE) { CodeGenTypes &Types = CGM.getTypes(); const CGFunctionInfo &FnInfo = Types.getFunctionInfo(ResultType, Args, FunctionType::ExtInfo()); - if (CGM.ReturnTypeUsesSret(FnInfo)) + if (CGM.ReturnTypeUsesSRet(FnInfo)) flags |= BLOCK_USE_STRET; } const llvm::IntegerType *IntTy = cast<llvm::IntegerType>( |