pike.git / src / code / amd64.c

version» Context lines:

pike.git/src/code/amd64.c:1391:   {    amd64_load_sp_reg();    mov_imm_mem( PIKE_T_INT, sp_reg, OFFSETOF(svalue, tu.t.type));    mov_reg_mem( reg, sp_reg, OFFSETOF(svalue, u.integer));    amd64_add_sp( 1 );   }      static void amd64_get_storage( enum amd64_reg reg, ptrdiff_t offset )   {    amd64_load_fp_reg(); - #if 0 + #if 1    /* Note: We really should keep pike_frame->current_storage up to date instead.. */ -  mov_mem_reg( fp_reg, OFFSETOF(pike_frame,current_storage), P_REG_RAX ); +  mov_mem_reg( fp_reg, OFFSETOF(pike_frame,current_storage), reg );    add_reg_imm( reg, offset );   #else    /* fp->current_object->storage */    mov_mem_reg(fp_reg, OFFSETOF(pike_frame, current_object), P_REG_RAX);    mov_mem_reg(P_REG_RAX, OFFSETOF(object,storage), reg );    mov_mem_reg(fp_reg, OFFSETOF(pike_frame, context), P_REG_RAX);    /* + fp->context->storage_offset */    add_reg_mem( reg, P_REG_RAX, OFFSETOF(inherit,storage_offset) );    /* + offset */    add_reg_imm( reg, offset);