diff options
author | Matt Turner <[email protected]> | 2014-05-12 14:40:40 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-05-15 15:45:40 -0700 |
commit | 58bcf5996dc60043eee5946a6f2f96256768fc9f (patch) | |
tree | a188741f3a9bd7c43ca83d1eeca5540125736a1b /src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp | |
parent | a77023c992fa37c609be56869c1bb5c00ec294b9 (diff) |
i965/cfg: Embed exec_node in bblock_link.
In order to remove bblock_link's inheritance of exec_node. Also makes
linked list walk code much nicer.
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp index 7969b67a567..a3ccf9931a7 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp @@ -201,8 +201,7 @@ fs_live_variables::compute_live_variables() } /* Update liveout */ - foreach_list(block_node, &cfg->blocks[b]->children) { - bblock_link *link = (bblock_link *)block_node; + foreach_list_typed(bblock_link, link, link, &cfg->blocks[b]->children) { bblock_t *block = link->block; for (int i = 0; i < bitset_words; i++) { |