diff --git a/src/compiler/nir/nir_use_dominance.c b/src/compiler/nir/nir_use_dominance.c index 2f4a724e9c2..217e903454c 100644 --- a/src/compiler/nir/nir_use_dominance.c +++ b/src/compiler/nir/nir_use_dominance.c @@ -216,7 +216,7 @@ calc_dominance(struct nir_use_dominance_state *state, /** * Calculate dominance or post-dominance of the SSA use graph. * The returned state must not be freed while dominance queries are being used. - * nir_free_use_dominance_state() frees the state. + * ralloc_free() frees the state. * * It clobbers nir_instr::index, which can't be changed while dominance queries * are being used.