pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h: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: interpret_functions.h,v 1.188 2006/03/07 20:12:00 grubba Exp $ + || $Id: interpret_functions.h,v 1.189 2006/03/09 14:06:23 grubba Exp $   */      /*    * Opcode definitions for the interpreter.    */      #include "global.h"      #undef CJUMP   #undef AUTO_BIGNUM_LOOP_TEST
pike.git/src/interpret_functions.h:1256:    /* write_to_stderr("foreach\n", 8); */    DONT_BRANCH();    pop_2_elems();    }else{    DO_BRANCH();    pop_2_elems();    push_int(0);    }   });    + #ifndef ENTRY_PROLOGUE_SIZE + #define ENTRY_PROLOGUE_SIZE 0 + #endif +    /* Ideally this ought to be an OPCODE0_PTRRETURN but I don't fancy    * adding that variety to this macro hell. At the end of the day there    * wouldn't be any difference anyway afaics. /mast */   OPCODE0_PTRJUMP(F_CATCH, "catch", I_UPDATE_ALL, {    PIKE_OPCODE_T *addr;       {    struct catch_context *new_catch_ctx = alloc_catch_context();    DO_IF_REAL_DEBUG (    new_catch_ctx->frame = Pike_fp;
pike.git/src/interpret_functions.h:1289:    Pike_fp->expendible = Pike_fp->locals + Pike_fp->num_locals;       /* Need to adjust next_addr by sizeof(INT32) to skip past the jump    * address to the continue position after the catch block. */    addr = (PIKE_OPCODE_T *) ((INT32 *) addr + 1);       if (Pike_interpreter.catching_eval_jmpbuf) {    /* There's already a catching_eval_instruction around our    * eval_instruction, so we can just continue. */    debug_malloc_touch_named (Pike_interpreter.catch_ctx, "(1)"); - #ifdef ENTRY_PROLOGUE_SIZE +     /* We also need to skip past the entry prologue... */    addr += ENTRY_PROLOGUE_SIZE; - #endif +     SET_PROG_COUNTER(addr);    FETCH;    JUMP_DONE;    }       else {    debug_malloc_touch_named (Pike_interpreter.catch_ctx, "(2)");    check_c_stack(8192);       while (1) {