diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-23 19:00:08 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-23 19:00:08 +0000 |
commit | 831f0fc2e0cd38da906cbb7b6a6d94b0024d04bf (patch) | |
tree | 44caf453522870f8edf896c2fd36a1469396b696 /clang/lib/CodeGen/CGException.cpp | |
parent | 402491558b93497e8c464d2971ab08a1b2a47e61 (diff) | |
download | bcm5719-llvm-831f0fc2e0cd38da906cbb7b6a6d94b0024d04bf.tar.gz bcm5719-llvm-831f0fc2e0cd38da906cbb7b6a6d94b0024d04bf.zip |
Support for catching objc pointer objects in c++ catch-statement
in fragile abi mode and some other cleanups. // rdar://8940528
llvm-svn: 133747
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 79a730eb7ea..1a4a5f988a5 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -521,7 +521,7 @@ void CodeGenFunction::EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) { llvm::Value *TypeInfo = 0; if (CaughtType->isObjCObjectPointerType()) - TypeInfo = CGM.getObjCRuntime().GetEHType(CaughtType, this); + TypeInfo = CGM.getObjCRuntime().GetEHType(CaughtType); else TypeInfo = CGM.GetAddrOfRTTIDescriptor(CaughtType, /*ForEH=*/true); CatchScope->setHandler(I, TypeInfo, Handler); |