Explorar el Código

ra: Delete the conflict lists in ra_set_finalize

They are never used after the set is finalized so there's no reason to keep
them around.

Reviewed-by: Matt Turner <mattst88@gmail.com>
tags/11.0-branchpoint
Jason Ekstrand hace 10 años
padre
commit
bdcc8f3230
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      src/util/register_allocate.c

+ 5
- 0
src/util/register_allocate.c Ver fichero

@@ -348,6 +348,11 @@ ra_set_finalize(struct ra_regs *regs, unsigned int **q_values)
}
}
}

for (b = 0; b < regs->count; b++) {
ralloc_free(regs->regs[b].conflict_list);
regs->regs[b].conflict_list = NULL;
}
}

static void

Cargando…
Cancelar
Guardar