diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-03-17 20:35:00 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-03-17 20:35:00 +0000 |
commit | 443250f08da3ea3396586f0349d8d34d42223633 (patch) | |
tree | 26d53556a6a5a6d00728b314c24e9ed906e84275 /clang/lib/CodeGen/CGException.cpp | |
parent | 9ef5671d36f4be2e173b2c77626d712bb2134e81 (diff) | |
download | llvm-443250f08da3ea3396586f0349d8d34d42223633.zip llvm-443250f08da3ea3396586f0349d8d34d42223633.tar.gz llvm-443250f08da3ea3396586f0349d8d34d42223633.tar.bz2 |
WIP
llvm-svn: 232537
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 80292d5..1a9ebb3 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -567,7 +567,7 @@ void CodeGenFunction::EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) { if (CaughtType->isObjCObjectPointerType()) TypeInfo = CGM.getObjCRuntime().GetEHType(CaughtType); else - TypeInfo = CGM.GetAddrOfRTTIDescriptor(CaughtType, /*ForEH=*/true); + TypeInfo = CGM.getAddrOfCXXCatchDescriptor(CaughtType); CatchScope->setHandler(I, TypeInfo, Handler); } else { // No exception decl indicates '...', a catch-all. |