Branch: Tag:

2022-05-07

2022-05-07 09:45:34 by Marcus Comstedt <marcus@mc.pp.se>

Compiler: Avoid recursing in push_remap_markers after looking up markers

4117:    struct pike_type *value = NULL;       if (lookup_marker(remap, marker, flags, &value)) { -  push_remap_markers(value, remap, flags); +  push_finished_type(value);    free_type(value);    if (marker && (flags & PT_FLAG_REMAP_KEEP_MARKERS)) {    push_type(marker);
4151:    value = NULL;    if (lookup_marker(remap, marker,    flags ^ PT_FLAG_REMAP_SWAP_MARKERS, &value)) { -  push_remap_markers(value, remap, flags ^ PT_FLAG_REMAP_SWAP_MARKERS); +  push_finished_type(value);    free_type(value);    } else if (flags & PT_FLAG_REMAP_EVAL_MARKERS) {    /* Marker without matching assign. */