diff options
Diffstat (limited to 'libgo/runtime/go-panic.h')
-rw-r--r-- | libgo/runtime/go-panic.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/libgo/runtime/go-panic.h b/libgo/runtime/go-panic.h index 2836c46..bd3e238 100644 --- a/libgo/runtime/go-panic.h +++ b/libgo/runtime/go-panic.h @@ -31,36 +31,6 @@ struct __go_panic_stack _Bool __is_foreign; }; -/* The panic and defer stacks, grouped together into a single thread - local variable for convenience for systems without TLS. */ - -struct __go_panic_defer_struct -{ - /* The list of defers to execute. */ - struct __go_defer_stack *__defer; - - /* The list of currently active panics. There will be more than one - if a deferred function calls panic. */ - struct __go_panic_stack *__panic; - - /* The current exception being thrown when unwinding after a call to - panic . This is really struct _UnwindException *. */ - void *__exception; - - /* Whether the current exception is from some other language. */ - _Bool __is_foreign; -}; - -#ifdef __rtems__ -#define __thread -#endif - -extern __thread struct __go_panic_defer_struct *__go_panic_defer; - -#ifdef __rtems__ -#undef __thread -#endif - extern void __go_panic (struct __go_empty_interface) __attribute__ ((noreturn)); |