Comments
Patch
@@ -435,8 +435,6 @@
me = pthread_self ();
for (p = __go_all_thread_ids; p != NULL; p = p->next)
{
- _Bool isme = 0;
-
if (p->tentative)
{
/* The goroutine function and argument can be allocated on
@@ -458,7 +456,6 @@
if (pthread_equal (me, p->id))
{
- isme = 1;
next_segment = NULL;
next_sp = NULL;
initial_sp = NULL;
@@ -485,7 +482,6 @@
if (pthread_equal (me, p->id))
{
- isme = 1;
uintptr_t top = (uintptr_t) m->gc_sp;
uintptr_t bottom = (uintptr_t) ⊤
if (top < bottom)
@@ -157,11 +157,10 @@
__go_panic_defer->__exception = hdr;
- _Unwind_Reason_Code code;
#ifdef __USING_SJLJ_EXCEPTIONS__
- code = _Unwind_SjLj_RaiseException (hdr);
+ _Unwind_SjLj_RaiseException (hdr);
#else
- code = _Unwind_RaiseException (hdr);
+ _Unwind_RaiseException (hdr);
#endif
/* Raising an exception should not return. */