Переглянути джерело

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 10 роки тому
джерело
коміт
bdcc8f3230
1 змінених файлів з 5 додано та 0 видалено
  1. 5
    0
      src/util/register_allocate.c

+ 5
- 0
src/util/register_allocate.c Переглянути файл

@@ -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

Завантаження…
Відмінити
Зберегти