pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:5126: Inside #if defined(PROFILING)
   dummy.opt_flags = 0;   #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0;    dummy.recur_depth=0;    dummy.total_time=0;   #endif       if (run_time_type == PIKE_T_FREE) dummy.func.offset = -1;    -  if (flags & ID_PRIVATE) flags |= ID_INLINE; +  if (flags & ID_PRIVATE) flags |= ID_LOCAL|ID_PROTECTED;       ref.id_flags=flags;    ref.identifier_offset=Pike_compiler->new_program->num_identifiers;    ref.inherit_offset=0;    ref.run_time_type = PIKE_T_UNKNOWN;       add_to_variable_index(ref.identifier_offset);       debug_add_to_identifiers(dummy);   
pike.git/src/program.c:5564: Inside #if 1
  #if 1    }    else {    copy_pike_type(dummy.type, mixed_type_string);    dummy.run_time_type=T_MIXED;    dummy.func.const_info.offset = -1;    dummy.opt_flags=0;    }   #endif    -  if (flags & ID_PRIVATE) flags |= ID_INLINE; +  if (flags & ID_PRIVATE) flags |= ID_LOCAL|ID_PROTECTED;       ref.id_flags=flags;    ref.identifier_offset=Pike_compiler->new_program->num_identifiers;    ref.inherit_offset=0;    ref.run_time_type = PIKE_T_UNKNOWN;      #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0;    dummy.recur_depth=0;
pike.git/src/program.c:6045:    fun.func = *func;    else    fun.func.offset = -1;       fun.opt_flags = opt_flags;       ref.identifier_offset=Pike_compiler->new_program->num_identifiers;    debug_add_to_identifiers(fun);    }    -  if (flags & ID_PRIVATE) flags |= ID_INLINE; +  if (flags & ID_PRIVATE) flags |= ID_LOCAL|ID_PROTECTED;       ref.inherit_offset = 0;    ref.id_flags = flags;    if ((overridden = override_identifier (&ref, name)) >= 0) {   #ifdef PIKE_DEBUG    struct reference *oref =    Pike_compiler->new_program->identifier_references+overridden;    if((oref->inherit_offset != ref.inherit_offset) ||    (oref->identifier_offset != ref.identifier_offset) ||    ((oref->id_flags | ID_USED) != (ref.id_flags | ID_USED))) {
pike.git/src/program.c:6123: Inside #if defined(PIKE_DEBUG)
   Pike_compiler->new_program->num_identifiers,    fun.name->str,    fun.identifier_flags, fun.opt_flags);    }   #endif /* PIKE_DEBUG */       i=Pike_compiler->new_program->num_identifiers;       debug_add_to_identifiers(fun);    -  if (flags & ID_PRIVATE) flags |= ID_INLINE; +  if (flags & ID_PRIVATE) flags |= ID_LOCAL|ID_PROTECTED;       ref.id_flags = flags;    ref.identifier_offset = i;    ref.inherit_offset = 0;    }       ref.run_time_type = PIKE_T_UNKNOWN;       /* Add the reference. */