Branch: Tag:

2012-06-15

2012-06-15 10:07:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler (amd64): Fixed PC-calculation.

1207: Inside #if defined(PIKE_DEBUG)
   if (a_flag >= 60)    fprintf (stderr, "pc %d update pc via lea\n", tmp);   #endif -  amd64_prev_stored_pc = PIKE_PC; +  amd64_prev_stored_pc = tmp;    }    else if ((disp = tmp - amd64_prev_stored_pc))    {
1217:   #endif    amd64_load_fp_reg();    add_imm_mem(disp, fp_reg, OFFSETOF (pike_frame, pc)); +  amd64_prev_stored_pc += disp;    }    else {   #ifdef PIKE_DEBUG