pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:3079:    UNSETJMP(recovery);       STACK_LEVEL_DONE(ret);       return ret;   }      PMOD_EXPORT void apply_lfun(struct object *o, int lfun, int args)   {    int fun; - #ifdef PIKE_DEBUG -  if(lfun < 0 || lfun >= NUM_LFUNS) -  Pike_fatal("Apply lfun on illegal value!\n"); - #endif +     if(!o->prog)    PIKE_ERROR("destructed object", "Apply on destructed object.\n",    Pike_sp, args);       if ((fun = (int)FIND_LFUN(o->prog, lfun)) < 0)    Pike_error("Calling undefined lfun::%s.\n", lfun_names[lfun]);       apply_low(o, fun, args);   }