pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.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: opcodes.c,v 1.169 2008/01/28 18:06:16 grubba Exp $ + || $Id: opcodes.c,v 1.170 2008/02/27 23:59:16 grubba Exp $   */      #include "global.h"   #include "constants.h"   #include "interpret.h"   #include "opcodes.h"   #include "pike_embed.h"      #ifdef INSTR_PROFILING   
pike.git/src/opcodes.c:315:    p->constants[n-F_MAX_OPCODE].sval.u.efun) {    return p->constants[n-F_MAX_OPCODE].sval.u.efun->name->str;    }       sprintf(buf, "Call efun %d", n - F_MAX_OPCODE);    return buf;   }      const char *get_f_name(int n)   { -  if (Pike_fp && Pike_fp->context.prog) -  return low_get_f_name(n, Pike_fp->context.prog); +  if (Pike_fp && Pike_fp->context) +  return low_get_f_name(n, Pike_fp->context->prog);    return low_get_f_name(n, NULL);   }      #ifdef HAVE_COMPUTED_GOTO   const char *get_opcode_name(PIKE_INSTR_T n)   {    int fcode;    int low = 0;    int high = F_MAX_OPCODE - F_OFFSET;    static char buf[64];