Branch: Tag:

2004-05-11

2004-05-11 15:47:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The ADJUST_PIKE_PC macro is obsolete.

Rev: src/peep.c:1.88

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: peep.c,v 1.87 2003/12/02 13:49:58 grubba Exp $ + || $Id: peep.c,v 1.88 2004/05/11 15:47:39 grubba Exp $   */      #include "global.h"
26:   #include "interpret.h"   #include "pikecode.h"    - RCSID("$Id: peep.c,v 1.87 2003/12/02 13:49:58 grubba Exp $"); + RCSID("$Id: peep.c,v 1.88 2004/05/11 15:47:39 grubba Exp $");      static void asm_opt(void);   
534: Inside #if defined(INS_F_JUMP_WITH_TWO_ARGS)
   (labels[c[1].arg] != -1));    if(tmp != -1)    { - #ifdef ADJUST_PIKE_PC -  if (instrs[c->opcode - F_OFFSET].flags & I_PC_AT_NEXT) -  ADJUST_PIKE_PC (PIKE_PC); - #endif +        /* Step ahead to the pointer instruction, and inline it. */   #ifdef PIKE_DEBUG
569: Inside #if defined(INS_F_JUMP_WITH_ARG)
   tmp = INS_F_JUMP_WITH_ARG(c->opcode, c->arg, (labels[c[1].arg] != -1));    if(tmp != -1)    { - #ifdef ADJUST_PIKE_PC -  if (instrs[c->opcode - F_OFFSET].flags & I_PC_AT_NEXT) -  ADJUST_PIKE_PC (PIKE_PC); - #endif +        /* Step ahead to the pointer instruction, and inline it. */   #ifdef PIKE_DEBUG
610:    }    }    - #ifdef ADJUST_PIKE_PC -  if (instrs[c->opcode - F_OFFSET].flags & I_PC_AT_NEXT) -  ADJUST_PIKE_PC (PIKE_PC); - #endif +       #ifdef PIKE_DEBUG    if (instrs[c->opcode - F_OFFSET].flags & I_HASPOINTER) {