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.244 2007/05/09 16:05:53 grubba Exp $ + || $Id: encode.c,v 1.245 2007/07/03 09:52:07 grubba 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:4047: Inside #if defined(PROFILING)
   id.num_calls=0;    id.total_time=0;   #endif       /* id_flags */    ref.id_flags = id_flags;       /* identifier_offset */    ref.identifier_offset =    Pike_compiler->new_program->num_identifiers; +  add_to_identifiers(id);       /* ref.inherit_offset */    ref.inherit_offset = 0;       EDB(5,    fprintf(stderr,    "%*sdefining constant(\"%s\", X, 0x%04x)\n",    data->depth, "",    Pike_sp[-2].u.string->str, id_flags));   
pike.git/src/encode.c:4075:    }       if (no != n) {    ref_push_program (p);    ref_push_string (id.name);    decode_error(Pike_sp - 2, Pike_sp - 1,    "Bad function identifier offset "    "(expected %d, got %d) for ", no, n);    }    -  add_to_identifiers(id); +     dmalloc_touch_svalue(Pike_sp-1);    dmalloc_touch_svalue(Pike_sp-2);    Pike_sp -= 2;    }    break;    case ID_ENTRY_INHERIT:    {    struct program *prog;    struct object *parent = NULL;    int parent_identifier;