From 0a3f5337746f9457d004f5af395847e3a04acd31 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Sat, 12 Jan 2013 03:45:17 +0000 Subject: Fix the case where we rethrow an exception when none was caught. --- src/exception.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/exception.cc b/src/exception.cc index 0cb2535..4ccf38e 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -801,7 +801,7 @@ extern "C" void __cxa_decrement_exception_refcount(void* thrown_exception) */ extern "C" void __cxa_rethrow() { - __cxa_thread_info *ti = thread_info_fast(); + __cxa_thread_info *ti = thread_info(); __cxa_eh_globals *globals = &ti->globals; // Note: We don't remove this from the caught list here, because // __cxa_end_catch will be called when we unwind out of the try block. We -- cgit v1.2.3