pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:1004:    if(TYPEOF(Pike_sp[-1]) == T_INT &&    SUBTYPEOF(Pike_sp[-1]) == NUMBER_UNDEFINED)    {    struct program *p=val->u.program;    debug_malloc_touch(p);    pop_stack();    if( (p->flags & PROGRAM_HAS_C_METHODS) || p->event_handler )    {    int has_local_c_methods = 0;    for (d = 0; d < p->num_identifiers; d++) { -  if (IDENTIFIER_IS_C_FUNCTION(p->identifiers[d].identifier_flags)) { +  struct identifier *id = p->identifiers + d; +  if (IDENTIFIER_IS_C_FUNCTION(id->identifier_flags) && +  !low_is_variant_dispatcher(id)) {    has_local_c_methods = 1;    break;    }    }    if (has_local_c_methods) {    if(p->parent)    {    /* We have to remove ourselves from the cache for now */    struct svalue tmp = entry_id;    EDB(1, fprintf(stderr,