pike.git / src / code / amd64.c

version» Context lines:

pike.git/src/code/amd64.c:3724:    mov_mem_reg( mark_sp_reg, -sizeof(struct svalue*), P_REG_RAX );    amd64_add_mark_sp( -1 );    mov_reg_reg( sp_reg, ARG1_REG );    sub_reg_reg( ARG1_REG, P_REG_RAX );    shr_reg_imm( ARG1_REG, 4 );    /* arg1 = (sp_reg - *--mark_sp)/16 (sizeof(svalue)) */       case F_MARK_CALL_BUILTIN:    if(a == F_MARK_CALL_BUILTIN )    { -  /* Note: It is not actually possible to do ins_debug_instr_prologue -  here. +     ins_debug_instr_prologue(a-F_OFFSET, b, 0); -  */ +     mov_imm_reg( 0, ARG1_REG );    }       case F_CALL_BUILTIN1:    if(a == F_CALL_BUILTIN1 )    { -  /* Note: It is not actually possible to do ins_debug_instr_prologue -  here. +     ins_debug_instr_prologue(a-F_OFFSET, b, 0); -  */ +     mov_imm_reg( 1, ARG1_REG );    }    -  /* Get function pointer */ -  ins_debug_instr_prologue(a-F_OFFSET, b, 0); +  /* Note: It is not actually possible to do ins_debug_instr_prologue +  * here. +  */    amd64_call_c_opcode(Pike_compiler->new_program->constants[b].sval.u.efun->function,    I_UPDATE_SP);    return;       case F_CONSTANT:    ins_debug_instr_prologue(a-F_OFFSET, b, 0);    amd64_load_fp_reg();    amd64_load_sp_reg();    mov_mem_reg( fp_reg, OFFSETOF(pike_frame,context), P_REG_RCX );    mov_mem_reg( P_REG_RCX, OFFSETOF(inherit,prog), P_REG_RCX );