Branch: Tag:

2003-11-26

2003-11-26 13:17:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixes for the calls of INS_F_JUMP_WITH_{ARG,TWO_ARGS}().

Rev: src/peep.c:1.97

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.96 2003/11/25 22:13:58 mast Exp $ + || $Id: peep.c,v 1.97 2003/11/26 13:17:30 grubba Exp $   */      #include "global.h"
26:   #include "interpret.h"   #include "pikecode.h"    - RCSID("$Id: peep.c,v 1.96 2003/11/25 22:13:58 mast Exp $"); + RCSID("$Id: peep.c,v 1.97 2003/11/26 13:17:30 grubba Exp $");      static void asm_opt(void);   
530: Inside #if defined(INS_F_JUMP_WITH_TWO_ARGS)
   case I_ISPTRJUMPARGS:   #ifdef INS_F_JUMP_WITH_TWO_ARGS    tmp = INS_F_JUMP_WITH_TWO_ARGS(c->opcode, c->arg, c->arg2, -  (labels[c->arg] != -1)); +  (labels[c[1].arg] != -1));    if(tmp != -1)    {   #ifdef ADJUST_PIKE_PC
566:       case I_ISPTRJUMPARG:   #ifdef INS_F_JUMP_WITH_ARG -  tmp = INS_F_JUMP_WITH_ARG(c->opcode, c->arg, (labels[c->arg] != -1)); +  tmp = INS_F_JUMP_WITH_ARG(c->opcode, c->arg, (labels[c[1].arg] != -1));    if(tmp != -1)    {   #ifdef ADJUST_PIKE_PC