diff options
author | Kenneth Graunke <[email protected]> | 2015-09-01 22:56:29 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-23 11:00:00 -0700 |
commit | 6560838703431f89c47d68822758bc76fd34c355 (patch) | |
tree | fa324f6bf4880e6741fcf7d5072c6bfc060f8d59 /.dir-locals.el | |
parent | 024e5ec9777c38f8c05be6678a9f51b145a00236 (diff) |
nir/cf: Fix unlink_block_successors to actually unlink the second one.
Calling unlink_blocks(block, block->successors[0]) will successfully
unlink the first successor, but then will shift block->successors[1]
down to block->successor[0]. So the successors[1] != NULL check will
always fail.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions