Fix up uses of new/terminate/unexpected handlers to use the new getters.
llvm-svn: 120914
diff --git a/libcxx/src/exception.cpp b/libcxx/src/exception.cpp
index 062114c..6c389c2 100644
--- a/libcxx/src/exception.cpp
+++ b/libcxx/src/exception.cpp
@@ -38,7 +38,7 @@
void
std::unexpected()
{
- (*__unexpected_handler)();
+ (*get_unexpected())();
// unexpected handler should not return
std::terminate();
}
@@ -62,7 +62,7 @@
try
{
#endif // _LIBCPP_NO_EXCEPTIONS
- (*__terminate_handler)();
+ (*get_terminate())();
// handler should not return
::abort ();
#ifndef _LIBCPP_NO_EXCEPTIONS