pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.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: interpret.c,v 1.388 2008/03/09 17:28:20 grubba Exp $ + || $Id: interpret.c,v 1.389 2008/03/09 17:36:34 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"
pike.git/src/interpret.c:2336:    struct identifier dummy;    struct reference dummy_ref = {    0, 0, ID_HIDDEN,    };    copy_shared_string(dummy.name, empty_pike_string);    copy_pike_type(dummy.type, function_type_string);    dummy.identifier_flags = IDENTIFIER_PIKE_FUNCTION|IDENTIFIER_HAS_BODY;    dummy.func.offset = offset;    dummy.opt_flags = 0;    dummy_ref.identifier_offset = Pike_compiler->new_program->num_identifiers; -  debug_add_to_identifiers(dummy); +  add_to_identifiers(dummy);    add_to_identifier_references(dummy_ref);    }       /* FIXME: Is this up-to-date with mega_apply? */    new_frame->next = Pike_fp;    add_ref(new_frame->current_object = o);    add_ref(new_frame->current_program = o->prog);    new_frame->context = o->prog->inherits;    new_frame->locals = Pike_sp;    new_frame->expendible=new_frame->locals;
pike.git/src/interpret.c:2389:    Pike_fatal("Stack error (simple).\n");   #endif    ret=0;    }    UNSETJMP(tmp);       Pike_interpreter.catching_eval_jmpbuf = saved_jmpbuf;       if (use_dummy_reference) {    /* Pop the dummy identifier. */ +  free_type(function_type_string); +  free_string(empty_pike_string);    Pike_compiler->new_program->num_identifier_references--;    Pike_compiler->new_program->num_identifiers--;    }       assert (new_frame == Pike_fp);    LOW_POP_PIKE_FRAME (new_frame);       return ret;   }