pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.221 2001/07/17 06:50:35 hubbe Exp $"); + RCSID("$Id: interpret.c,v 1.222 2001/07/17 08:33:22 hubbe Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:752:      /* Labels to jump to to cause eval_instruction to return */   /* FIXME: Replace these with assembler lables */   void *do_inter_return_label;   void *do_escape_catch_label;   void *dummy_label;         #define OPCODE0(O,N,C) \   void PIKE_CONCAT(opcode_,O)(void) { \ - DO_IF_DEBUG(if(t_flag > 3) fprintf(stderr,"- %s()\n",N));\ + DO_IF_DEBUG(if(t_flag > 3) fprintf(stderr,"- (%p,%ld): %s()\n",PROG_COUNTER,DO_NOT_WARN((long)(Pike_sp-Pike_interpreter.evaluator_stack)),N));\   C }      #define OPCODE1(O,N,C) \   void PIKE_CONCAT(opcode_,O)(INT32 arg1) {\ - DO_IF_DEBUG(if(t_flag > 3) fprintf(stderr,"- %s(%d)\n",N,arg1)); \ + DO_IF_DEBUG(if(t_flag > 3) fprintf(stderr,"- (%p,%ld): %s(%d)\n",PROG_COUNTER,DO_NOT_WARN((long)(Pike_sp-Pike_interpreter.evaluator_stack)),N,arg1)); \   C }         #define OPCODE2(O,N,C) \   void PIKE_CONCAT(opcode_,O)(INT32 arg1,INT32 arg2) { \ - DO_IF_DEBUG(if(t_flag > 3) fprintf(stderr,"- %s(%d,%d)\n",N,arg1,arg2)); \ + DO_IF_DEBUG(if(t_flag > 3) fprintf(stderr,"- (%p,%ld): %s(%d,%d)\n",PROG_COUNTER,DO_NOT_WARN((long)(Pike_sp-Pike_interpreter.evaluator_stack)),N,arg1,arg2)); \   C }         #define OPCODE0_JUMP(O,N,C) OPCODE0(O,N,C)   #define OPCODE1_JUMP(O,N,C) OPCODE1(O,N,C)   #define OPCODE2_JUMP(O,N,C) OPCODE2(O,N,C)      #define OPCODE0_TAIL(O,N,C) OPCODE0(O,N,C)   #define OPCODE1_TAIL(O,N,C) OPCODE1(O,N,C)   #define OPCODE2_TAIL(O,N,C) OPCODE2(O,N,C)