pan/bi: Assert l != NULL in bi_ra

Confuses cppcheck; indeed, the proof is confusing.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12530>
This commit is contained in:
Alyssa Rosenzweig
2021-08-24 16:40:54 -04:00
committed by Marge Bot
parent b1aa15d582
commit 1c2bc67fac
+1
View File
@@ -535,6 +535,7 @@ bi_register_allocate(bi_context *ctx)
}
assert(success);
assert(l != NULL);
ctx->info->tls_size = spill_count;
bi_install_registers(ctx, l);