aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/util/pan_liveness.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/util/pan_liveness.c')
-rw-r--r--src/panfrost/util/pan_liveness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/util/pan_liveness.c b/src/panfrost/util/pan_liveness.c
index 48ec71b253a..a46a11d9d3c 100644
--- a/src/panfrost/util/pan_liveness.c
+++ b/src/panfrost/util/pan_liveness.c
@@ -108,7 +108,7 @@ static inline pan_block *
pan_exit_block(struct list_head *blocks)
{
pan_block *last = list_last_entry(blocks, pan_block, link);
- assert(last->nr_successors == 0);
+ assert(!last->successors[0] && !last->successors[1]);
return last;
}