Branch: Tag:

2001-01-11

2001-01-11 23:28:30 by Martin Stjernholm <mast@lysator.liu.se>

Fixed proper error recovery in the RECUR opcodes where the pike_frame is
changed destructively.

Test case: The following program should loop infinitely and not segfault
when the stack is eaten (running with -d necessary).

int main()
{
int i = 5;
catch(main());
return main() + i;
}

Rev: src/interpret.c:1.180
Rev: src/interpret_functions.h:1.38
Rev: src/interpreter.h:1.54

194:   #define OPCODE2_TAILJUMP(OP,DESC) } CASE(OP) {;       -  +    #define BREAK break; } -  + #define DONE break      #include "interpret_functions.h"