pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.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: encode.c,v 1.215 2005/05/31 15:33:38 mast Exp $ + || $Id: encode.c,v 1.216 2006/02/21 06:32:52 mast Exp $   */      #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "mapping.h"
pike.git/src/encode.c:25:   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"   #include "bignum.h"   #include "pikecode.h"   #include "pike_types.h"   #include "opcodes.h"   #include "peep.h"    - RCSID("$Id: encode.c,v 1.215 2005/05/31 15:33:38 mast Exp $"); + RCSID("$Id: encode.c,v 1.216 2006/02/21 06:32:52 mast 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:2873:       p->total_size=size + sizeof(struct program);       p->flags |= PROGRAM_OPTIMIZED;    }       {    INT32 bytecode_method = 0;    decode_number(bytecode_method, data);    if (bytecode_method != PIKE_BYTECODE_METHOD) { -  Pike_error("Unsupported bytecode method: %d. Expected %d\n", +  Pike_error("Unsupported byte-code 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 */