pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:8582:    case T_FUNCTION:    case T_PROGRAM:    case T_OBJECT:    case T_ARRAY:    {    /* ret[i]=fun(arr[i],@extra); */    struct pike_callsite C;    push_array(d=allocate_array(n));    types = 0;    -  callsite_init(&C); -  callsite_set_args(&C, 0); +  callsite_init(&C, 0);    callsite_resolve_svalue(&C, mysp-2);    callsite_prepare(&C);       /* We need to do this manually, because    * currently no arguments are on the stack, yet */    C.args = 1+splice;    if (C.frame) {    C.frame->args = 1+splice;    C.frame->flags |= PIKE_FRAME_NO_REUSE;    }