pike.git / src / peep.c

version» Context lines:

pike.git/src/peep.c:12:   #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.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);      dynamic_buffer instrbuf;      static int hasarg(int opcode)   {    return instrs[opcode-F_OFFSET].flags & I_HASARG;   }   
pike.git/src/peep.c:313:    FLUSH_CODE_GENERATOR_STATE();    labels[c->arg] = DO_NOT_WARN((INT32)PIKE_PC);    UPDATE_PC();    break;       case F_VOLATILE_RETURN:    ins_f_byte(F_RETURN);    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    tmp=INS_F_JUMP(c->opcode);    if(tmp != -1)    {    UPDATE_F_JUMP(tmp, jumps[c->arg]);    jumps[c->arg]=~tmp;    break;    }
pike.git/src/peep.c:356:    ins_f_byte(c->opcode);    break;      #ifdef PIKE_DEBUG    default:    fatal("Unknown instruction type.\n");   #endif    }    }    + #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)    {    switch(c->opcode)    {    case F_RETURN:    case F_VOLATILE_RETURN:    case F_BRANCH:    case F_RETURN_0:    case F_RETURN_1: