pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:3254:    int id = find_identifier(fun, o->prog);    if (id >= 0)    apply_low(o, id, args);    else    Pike_error ("Cannot call unknown function \"%s\".\n", fun);   }         PMOD_EXPORT void apply_svalue(struct svalue *s, INT32 args)   { -  if(TYPEOF(*s) == T_INT) +  if(IS_UNDEFINED(s))    { -  +  /* FIXME: Why? cf LysLysKOM 22891031. */    pop_n_elems(args);    push_int(0);    }else{    ptrdiff_t expected_stack=Pike_sp-args+1 - Pike_interpreter.evaluator_stack;       strict_apply_svalue(s,args);    if(Pike_sp > (expected_stack + Pike_interpreter.evaluator_stack))    {    pop_n_elems(Pike_sp-(expected_stack + Pike_interpreter.evaluator_stack));    }