Branch: Tag:

2001-01-12

2001-01-12 01:58:40 by Martin Stjernholm <mast@lysator.liu.se>

Fix: Only restore the pike_frame if it's the same as the one being saved.

Rev: src/interpret.c:1.181
Rev: src/interpret_functions.h:1.39

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.180 2001/01/11 23:28:30 mast Exp $"); + RCSID("$Id: interpret.c,v 1.181 2001/01/12 01:58:38 mast Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
756:      struct light_frame_info   { +  struct pike_frame *saved_fp;    struct svalue *expendible;    struct svalue *locals;   };      static void restore_light_frame_info(struct light_frame_info *info)   { -  +  if (Pike_fp == info->saved_fp) {    Pike_fp->expendible = info->expendible;    Pike_fp->locals = info->locals;    } -  + }      #ifdef PIKE_DEBUG   #define EVAL_INSTR_RET_CHECK(x) \