pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:19:   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"   #include "bignum.h"   #include "pikecode.h"    - RCSID("$Id: encode.c,v 1.144 2002/05/11 00:28:59 nilsson Exp $"); + RCSID("$Id: encode.c,v 1.145 2002/05/13 20:43:17 grubba Exp $");      /* #define ENCODE_DEBUG */      /* Use the old encoding method for programs. */   #define OLD_PIKE_ENCODE_PROGRAM      #ifdef ENCODE_DEBUG   /* Pass a nonzero integer as the third arg to encode_value,    * encode_value_canonic and decode_value to activate this debug. */   #define EDB(N,X) do { debug_malloc_touch(data); if (data->debug>=N) {X;} } while (0)
pike.git/src/encode.c:2722:    if (bytecode_method != PIKE_BYTECODE_METHOD) {    Pike_error("Unsupported bytecode method: %d. Expected %d\n",    bytecode_method, PIKE_BYTECODE_METHOD);    }    }       getdata2(p->program, p->num_program);    getdata2(p->relocations, p->num_relocations);      #ifdef DECODE_PROGRAM +  { +  int byteorder = PIKE_BYTEORDER; /* FIXME: Used by bytecode.h */    DECODE_PROGRAM(p); -  +  }   #endif /* DECODE_PROGRAM */    make_program_executable(p);       getdata2(p->linenumbers, p->num_linenumbers);      #ifdef DEBUG_MALLOC    if(p->num_linenumbers && p->linenumbers &&    EXTRACT_UCHAR(p->linenumbers)==127)    {    char *foo;