Branch: Tag:

2016-06-14

2016-06-14 09:13:37 by Arne Goedeke <el@laramies.com>

low_automat: call frame_return()

frame_return will pop all locals off the stack and make sure that
frames with more than 1 reference are replaced.

4283:    if(frame != NULL) {    frame_prepare (frame, args);    frame_execute (frame); +  /* NOTE: this is due to tail recursion replacing frames */ +  frame = Pike_fp; +  frame = frame_return(frame);    } else {    low_automap(d+1,depth,fun,real_args,args);    }