pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:799:    Pike_fatal("Invalid type for push_unlimited_array_type(): %s (%d)\n",    get_name_of_type(t), t);    }   #endif    if (peek_type_stack()->type == PIKE_T_ZERO) {    push_type(PIKE_T_ZERO);    } else {    push_int_type(0, MAX_INT32);    }    push_type(t); +  +  TYPE_STACK_DEBUG("push_array_type");   }      static int (*program_id_to_id)(int) = NULL;      PMOD_EXPORT void set_program_id_to_id( int (*to)(int) )   {    program_id_to_id = to;   }      void debug_push_object_type(int flag, INT32 id)
pike.git/src/pike_types.cmod:858:   }      void debug_push_type_attribute(struct pike_string *attr)   {    /* fprintf(stderr, "push_type_attribute(\"%s\")\n", attr->str); */    add_ref(attr);    *Pike_compiler->type_stackp = mk_type(PIKE_T_ATTRIBUTE,    (void *)attr,    *Pike_compiler->type_stackp,    PT_COPY_CDR); -  TYPE_STACK_DEBUG("push_type_name"); +  TYPE_STACK_DEBUG("push_type_attribute");   }      void debug_push_type_name(struct pike_string *name)   {    /* fprintf(stderr, "push_type_name(\"%s\")\n", name->str); */    add_ref(name);    *Pike_compiler->type_stackp = mk_type(PIKE_T_NAME,    (void *)name,    *Pike_compiler->type_stackp,    PT_COPY_CDR);
pike.git/src/pike_types.cmod:963:    break;    }    default:    *Pike_compiler->type_stackp = apply_type_operator(op, t, arg);    free_type(t);    break;    }    if (free_arg) {    free_type(arg);    } +  TYPE_STACK_DEBUG("push_type_operator");   }      void debug_push_finished_type(struct pike_type *t)   {    copy_pike_type(*(++Pike_compiler->type_stackp), t);       TYPE_STACK_DEBUG("push_finished_type");   }      static void push_reverse_joiner_type(unsigned int type)
pike.git/src/pike_types.cmod:1541:    if (field & BIT_INT) {    push_int_type(MIN_INT32, MAX_INT32);    push_type(T_OR);    }    if (field & BIT_FLOAT) {    push_type(T_FLOAT);    push_type(T_OR);    }    }    } +  TYPE_STACK_DEBUG("push_type_field");   }      INT32 extract_type_int(char *p)   {    return get_unaligned_be32(p);   }      struct pike_type *debug_pop_unfinished_type(void)   {    ptrdiff_t len;