pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:557:    )    )    {    push_int(++(Pike_fp->locals[arg1].u.integer));    SET_SVAL_SUBTYPE(Pike_fp->locals[arg1], NUMBER_NUMBER); /* Could have UNDEFINED there before. */    } else {    push_svalue(Pike_fp->locals+arg1);    push_int(1);    f_add(2);    assign_svalue(Pike_fp->locals+arg1,Pike_sp-1); -  pop_stack(); +     }   });      OPCODE1(F_POST_INC_LOCAL, "local++", I_UPDATE_SP, {    push_svalue( Pike_fp->locals + arg1);       if( (TYPEOF(Pike_fp->locals[arg1]) == PIKE_T_INT)    DO_IF_BIGNUM(    && (!INT_TYPE_ADD_OVERFLOW(Pike_fp->locals[arg1].u.integer, 1))    )
pike.git/src/interpret_functions.h:1057:   });      OPCODE1(F_ASSIGN_LOCAL_AND_POP, "assign local and pop", I_UPDATE_SP, {    free_svalue(Pike_fp->locals + arg1);    move_svalue (Pike_fp->locals + arg1, Pike_sp - 1);    Pike_sp--;   });      OPCODE2(F_ASSIGN_LOCAL_NUMBER_AND_POP, "assign local number and pop", 0, {    free_svalue(Pike_fp->locals + arg1); -  Pike_fp->locals[arg1].u.integer = arg2; -  Pike_fp->locals[arg1].type = PIKE_T_INT; +  SET_SVAL(Pike_fp->locals[arg1], PIKE_T_INT, 0, integer, arg2);   });      OPCODE1(F_ASSIGN_GLOBAL, "assign global", 0, {    object_low_set_index(Pike_fp->current_object,    arg1 + Pike_fp->context->identifier_level,    Pike_sp-1);   });      OPCODE1(F_ASSIGN_GLOBAL_AND_POP, "assign global and pop", I_UPDATE_SP, {    object_low_set_index(Pike_fp->current_object,