pike.git / src / peep.c

version» Context lines:

pike.git/src/peep.c:1:   /*   || 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"   #include "language.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "program.h"   #include "las.h"   #include "docode.h"   #include "main.h"
pike.git/src/peep.c:19:   #include "peep.h"   #include "dmalloc.h"   #include "stuff.h"   #include "bignum.h"   #include "opcodes.h"   #include "builtin_functions.h"   #include "constants.h"   #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);      dynamic_buffer instrbuf;      #ifdef PIKE_DEBUG   static int hasarg(int opcode)   {    return instrs[opcode-F_OFFSET].flags & I_HASARG;   }
pike.git/src/peep.c:523:    Pike_fatal("Jump to unknown label?\n");   #endif    tmp = DO_NOT_WARN((INT32)PIKE_PC);    ins_pointer(jumps[c->arg]);    jumps[c->arg]=tmp;    break;       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    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    if (c[1].opcode != F_POINTER) {
pike.git/src/peep.c:559:    * next turn through the loop.    */       case I_TWO_ARGS:    case I_ISJUMPARGS:    ins_f_byte_with_2_args(c->opcode, c->arg, c->arg2);    break;       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    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    if (c[1].opcode != F_POINTER) {