pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:4732:    *    * FIXME: It is theoretically possible to propagate marker    * changes up if they are compatible in both branches.    */    orig_markers = remap->markers;    remap->markers = copy_mapping(orig_markers);    }    tmp = low_type_binop(op, a->car, b, remap, aflags, bflags, remap_flags);    if ((remap_flags & PT_FLAG_REMAP_INEXACT) && tmp) {    if ((op == PT_BINOP_AND) || (op == PT_BINOP_MINUS)) { +  if (remap) { +  do_free_mapping(remap->markers); +  remap->markers = orig_markers; +  }    free_type(tmp);    add_ref(a);    return a;    }    }    if (remap) {    do_free_mapping(remap->markers);    remap->markers = copy_mapping(orig_markers);    }    tmp2 = low_type_binop(op, a->cdr, b, remap, aflags, bflags, remap_flags);
pike.git/src/pike_types.cmod:4837:    * FIXME: It is theoretically possible to propagate marker    * changes up if they are compatible in both branches.    */    orig_markers = remap->markers;    remap->markers = copy_mapping(orig_markers);    }       tmp = low_type_binop(op, a, b->car, remap, aflags, bflags, remap_flags);    if ((remap_flags & PT_FLAG_REMAP_INEXACT) && tmp) {    if (op == PT_BINOP_AND) { +  if (remap) { +  do_free_mapping(remap->markers); +  remap->markers = orig_markers; +  }    free_type(tmp);    add_ref(a);    return a;    }    }    if (remap) {    do_free_mapping(remap->markers);    remap->markers = copy_mapping(orig_markers);    }    if ((op == PT_BINOP_MINUS) || (op == PT_BINOP_OR)) {