diff options
author | Kenneth Graunke <[email protected]> | 2015-08-06 18:18:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-08-24 13:31:41 -0700 |
commit | 8e0d4ef3410ea07d9621df3e083bc3e7c1ad2ab0 (patch) | |
tree | 659c330da07e0be1c9efd58481484dc4c14cadf4 /include | |
parent | 9f00af672b59766008994a190730d48ae03773dd (diff) |
nir: Delete the nir_function_impl::start_block field.
It's simply the first nir_cf_node in the nir_function_impl::body list,
which is easy enough to access - we don't to store a pointer to it
explicitly. Removing it means we don't need to maintain the pointer
when, say, splitting the start block when modifying control flow.
Thanks to Connor Abbott for suggesting this.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions