Branch: Tag:

2002-05-10

2002-05-10 22:30:33 by Martin Stjernholm <mast@lysator.liu.se>

Added a macro ADJUST_PIKE_PC for byte code methods that update
Pike_fp->pc relatively.

Rev: src/peep.c:1.71

19:   #include "interpret.h"   #include "pikecode.h"    - RCSID("$Id: peep.c,v 1.70 2001/09/24 16:58:33 grubba Exp $"); + RCSID("$Id: peep.c,v 1.71 2002/05/10 22:30:33 mast Exp $");      static void asm_opt(void);   
320:    break;       default: -  switch(instrs[c->opcode - F_OFFSET].flags) +  switch(instrs[c->opcode - F_OFFSET].flags & I_IS_MASK)    {    case I_ISJUMP:   #ifdef INS_F_JUMP
363:    }    }    + #ifdef ADJUST_PIKE_PC +  if (instrs[c->opcode - F_OFFSET].flags & I_PC_AT_NEXT) +  ADJUST_PIKE_PC (PIKE_PC); + #endif +    #ifdef ALIGN_PIKE_JUMPS    if(e+1 < length)    {