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.270 2008/05/26 09:26:57 grubba Exp $ + || $Id: encode.c,v 1.271 2008/05/26 10:41:23 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:4530:    pop_stack();    push_program(p);       if (c->placeholder) {    if (c->placeholder->prog != null_program) {    Pike_error("Placeholder has been zapped during decoding.\n");    }    debug_malloc_touch(c->placeholder);    free_program(c->placeholder->prog);    add_ref(c->placeholder->prog = p); -  c->placeholder->storage=c->p->storage_needed ? -  (char *)xalloc(c->p->storage_needed) : +  c->placeholder->storage = p->storage_needed ? +  (char *)xalloc(p->storage_needed) :    (char *)NULL;    call_c_initializers(c->placeholder);    call_pike_initializers(c->placeholder,0);    }       exit_compiler();       EDB(5, dump_program_tables(p, data->depth));   #ifdef PIKE_DEBUG    check_program (p);