pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:972:    break;    }       case T_MAPPING:    descblock = ((struct mapping *) memblock)->data;    /* FALL THROUGH */    case T_MAPPING_DATA: {    INT32 e;    struct keypair *k;    NEW_MAPPING_LOOP((struct mapping_data *) descblock) -  if (&k->ind == (struct svalue *) location) { +  if (&keypair_ind(k) == (struct svalue *) location) {    fprintf(stderr, "%*s **In index ", indent, ""); -  safe_print_svalue (stderr, &k->ind); +  safe_print_svalue (stderr, &keypair_ind(k));    fputc('\n', stderr);    break;    } -  else if (&k->val == (struct svalue *) location) { +  else if (&keypair_val(k) == (struct svalue *) location) {    fprintf(stderr, "%*s **In value with index ", indent, ""); -  safe_print_svalue (stderr, &k->ind); +  safe_print_svalue (stderr, &keypair_ind(k));    fputc('\n', stderr);    break;    }    break;    }       case T_PIKE_FRAME: {    struct pike_frame *f = (struct pike_frame *) descblock;    if (f->locals) { /* Paranoia. */    ptrdiff_t pos = (struct svalue *) location - f->locals;