pike.git / src / peep.c

version» Context lines:

pike.git/src/peep.c:17:   #include "peep.h"   #include "stuff.h"   #include "bignum.h"   #include "opcodes.h"   #include "builtin_functions.h"   #include "constants.h"   #include "interpret.h"   #include "pikecode.h"   #include "pike_compiler.h"    + int store_portable_bytecode;   #ifdef PIKE_DEBUG   static int hasarg(int opcode)   {    return instrs[opcode-F_OFFSET].flags & I_HASARG;   }      static int hasarg2(int opcode)   {    return instrs[opcode-F_OFFSET].flags & I_HASARG2;   }
pike.git/src/peep.c:200: Inside #if defined(PIKE_DEBUG)
   fprintf(stderr,"\n");    if (c[e].opcode == F_SYNCH_MARK) synch_depth++;    }    if (synch_depth) {    Pike_fatal("Unbalanced sync_mark/pop_sync_mark: %d\n", synch_depth);    }    }   #endif       /* No need to do this for constant evaluations. */ -  if (store_linenumbers) { +  if (store_linenumbers && store_portable_bytecode) {    p_wchar2 *current_tripple;    struct pike_string *previous_file = NULL;    INT_TYPE previous_line = 0;    ptrdiff_t num_linedirectives = 0;       /* Count the number of F_FILENAME/F_LINE pseudo-ops we need to add. */    for (e=0; e < length; e++) {    if (c[e].file != previous_file) {    previous_file = dmalloc_touch_named(struct pike_string *,    c[e].file, "prev_file");
pike.git/src/peep.c:471: Inside #if defined(START_NEW_FUNCTION)
     #ifdef START_NEW_FUNCTION    START_NEW_FUNCTION(store_linenumbers);   #endif      #ifdef ALIGN_PIKE_FUNCTION_BEGINNINGS    while( ( (((INT32) PIKE_PC)+4) & (ALIGN_PIKE_JUMPS-1)))    ins_byte(0);   #endif    -  if (store_linenumbers) { +  if (store_linenumbers && store_portable_bytecode) {    ins_data(store_prog_string(tripples));    free_string(tripples);    } else {    ins_data(0);    }       entry_point = PIKE_PC;      #ifdef PIKE_DEBUG    synch_depth = 0;