mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
freedreno/ir3: small cleanup
`target` cannot be NULL here. Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
016a9ab2f9
commit
9753d7381c
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ resolve_jump(struct ir3_instruction *instr)
|
|||
else
|
||||
next_block = 1;
|
||||
|
||||
if ((!target) || (target->ip == (instr->ip + next_block))) {
|
||||
if (target->ip == (instr->ip + next_block)) {
|
||||
list_delinit(&instr->node);
|
||||
return true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue