pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:4226:       /* inherit_offset */    decode_number(ref.inherit_offset, data);       /* identifier_offset */    /* Actually the id ref number from the inherited program */    decode_number(ref_no, data);    ref.identifier_offset = p->inherits[ref.inherit_offset].prog->    identifier_references[ref_no].identifier_offset;    +  ref.run_time_type = PIKE_T_UNKNOWN; +  ref.func.offset = 0; +     /* Expected identifier reference number */    decode_number(no, data);       if (no > p->num_identifier_references) {    EDB (3, dump_program_tables (p, data->depth));    ref_push_program (p);    decode_error(Pike_sp - 1, NULL,    "Bad identifier reference offset: %d != %d\n", no,    Pike_compiler->new_program->    num_identifier_references);
pike.git/src/encode.c:4381:    /* FIXME:    * Verify validity of func.const_info.offset    */       /* run_time_type */    decode_number(id.run_time_type, data);       /* opt_flags */    decode_number(id.opt_flags, data);    +  ref.run_time_type = PIKE_T_UNKNOWN; +  ref.func.offset = 0; +     /* Expected identifier number. */    decode_number(no, data);       n = isidentifier(id.name);      #ifdef PROFILING    id.self_time=0;    id.num_calls=0;    id.total_time=0;   #endif