nir: Rename nir_block_following_if to nir_block_get_following_if

The new name is a little longer but less confusing.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
Jason Ekstrand
2014-12-17 14:49:24 -08:00
parent cb53aacaa1
commit de73d1e173
5 changed files with 5 additions and 5 deletions

View File

@@ -165,7 +165,7 @@ walk_instructions_block(nir_block *block, void *void_state)
memcpy(block->live_in, block->live_out,
state->bitset_words * sizeof(BITSET_WORD));
nir_if *following_if = nir_block_following_if(block);
nir_if *following_if = nir_block_get_following_if(block);
if (following_if)
set_src_live(&following_if->condition, block->live_in);