Branch: Tag:

2015-10-11

2015-10-11 14:01:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Types]: Got rid of my_describe_type().

All remaining use of my_describe_type() was for debug output, and
have now been converted to using simple_describe_type().

2232: Inside #if defined(PIKE_DEBUG)
      case F_CAST:    { -  dynamic_buffer save_buf; -  char *s; -  init_buf(&save_buf); -  my_describe_type(foo->type); -  s=simple_free_buf(&save_buf); -  fprintf(stderr, "(%s){",s); -  free(s); +  fputc('(', stderr); +  simple_describe_type(foo->type); +  fprintf(stderr, "){");    low_print_tree(_CAR(foo),0);    fputc('}', stderr);    break;
2246: Inside #if defined(PIKE_DEBUG)
      case F_SOFT_CAST:    { -  dynamic_buffer save_buf; -  char *s; -  init_buf(&save_buf); -  my_describe_type(foo->type); -  s=simple_free_buf(&save_buf); -  fprintf(stderr, "[%s(", s); -  free(s); +  fputc('[', stderr); +  simple_describe_type(foo->type); +  fputc('(', stderr);    low_print_tree(_CDR(foo), 0);    fprintf(stderr, ")]{");    low_print_tree(_CAR(foo),0);