pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:257:    push_svalue(& Pike_fp->context->prog->constants[arg1].sval);    print_return_value();   });         /* Generic swap instruction:    * swaps the arg1 top values with the arg2 values beneath    */   OPCODE2(F_REARRANGE,"rearrange",0,{    check_stack(arg2); -  MEMCPY(Pike_sp,Pike_sp-arg1-arg2,sizeof(struct svalue)*arg2); +  memcpy(Pike_sp,Pike_sp-arg1-arg2,sizeof(struct svalue)*arg2);    MEMMOVE(Pike_sp-arg1-arg2,Pike_sp-arg1,sizeof(struct svalue)*arg1); -  MEMCPY(Pike_sp-arg2,Pike_sp,sizeof(struct svalue)*arg2); +  memcpy(Pike_sp-arg2,Pike_sp,sizeof(struct svalue)*arg2);   });      /* The rest of the basic 'push value' instructions */      OPCODE1_TAIL(F_MARK_AND_STRING, "mark & string", I_UPDATE_SP|I_UPDATE_M_SP, {    *(Pike_mark_sp++)=Pike_sp;       OPCODE1(F_STRING, "string", I_UPDATE_SP, {    ref_push_string(Pike_fp->context->prog->strings[arg1]);    print_return_value();