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:
committed by
Marge Bot
parent
b1aa15d582
commit
1c2bc67fac
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user