summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-03-08 19:34:58 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-03-08 19:34:58 +0000
commit11dd38dab0ae79dfb8d28517fe1d346502b6c01f (patch)
treeeaef3cf2587455097f1b6bb4a9567d7346838585 /libcxxabi/src
parent05d2212db3daa1aa33f98a13b75e5655b64ea487 (diff)
downloadbcm5719-llvm-11dd38dab0ae79dfb8d28517fe1d346502b6c01f.tar.gz
bcm5719-llvm-11dd38dab0ae79dfb8d28517fe1d346502b6c01f.zip
Enable/silence -Wshadow.
llvm-svn: 152325
Diffstat (limited to 'libcxxabi/src')
-rw-r--r--libcxxabi/src/cxa_handlers.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcxxabi/src/cxa_handlers.cpp b/libcxxabi/src/cxa_handlers.cpp
index ab41db44d45..bd3f6f44760 100644
--- a/libcxxabi/src/cxa_handlers.cpp
+++ b/libcxxabi/src/cxa_handlers.cpp
@@ -177,10 +177,7 @@ terminate() _NOEXCEPT
(unwind_exception->exception_class & get_vendor_and_language) ==
(kOurExceptionClass & get_vendor_and_language);
if (native_exception)
- {
- __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1;
__terminate(exception_header->terminateHandler);
- }
}
}
__terminate(get_terminate());
OpenPOWER on IntegriCloud