Commits

Armin Rigo  committed 97289ec

Fix

  • Participants
  • Parent commits 912a831

Comments (0)

Files changed (1)

File hack/pypy-hack/rewind_setjmp/rewind_setjmp.c

     if (rjthread->moved_off) {
         _rewind_jmp_free_stack_slices(rjthread);
     }
+    rewind_jmp_thread *volatile rjthread1 = rjthread;
     int result;
     if (__builtin_setjmp(rjthread->jmpbuf) == 0) {
+        rjthread = rjthread1;
         rjthread->initial_head = rjthread->head;
         result = 0;
     }
     else {
+        rjthread = rjthread1;
         rjthread->head = rjthread->initial_head;
         result = 1;
     }