Branch: Tag:

2016-04-24

2016-04-24 15:06:46 by Arne Goedeke <el@laramies.com>

Interpreter: fix unlink_previous_frame

2199:    current->save_mark_sp=prev->save_mark_sp;    current->flags = prev->flags;    -  /* Unlink the top frame temporarily. */ -  Pike_interpreter.frame_pointer=prev; -  +    #ifdef PROFILING    {    /* We must update the profiling info of the previous frame
2232:    Pike_fp = prev->next;    current->next=Pike_interpreter.frame_pointer;    -  frame_unlink(prev); -  +     if (--prev->refs <= 0) {    really_free_pike_frame(prev); -  +  } else { +  frame_unlink(prev);    }       /* Hook our frame again. */