summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_cfg.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-05-12 14:40:40 -0700
committerMatt Turner <mattst88@gmail.com>2014-05-15 15:45:40 -0700
commit58bcf5996dc60043eee5946a6f2f96256768fc9f (patch)
treea188741f3a9bd7c43ca83d1eeca5540125736a1b /src/mesa/drivers/dri/i965/brw_cfg.h
parenta77023c992fa37c609be56869c1bb5c00ec294b9 (diff)
downloadexternal_mesa3d-58bcf5996dc60043eee5946a6f2f96256768fc9f.tar.gz
external_mesa3d-58bcf5996dc60043eee5946a6f2f96256768fc9f.tar.bz2
external_mesa3d-58bcf5996dc60043eee5946a6f2f96256768fc9f.zip
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 <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_cfg.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cfg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.h b/src/mesa/drivers/dri/i965/brw_cfg.h
index 0a88d25d66..9466bd2fdd 100644
--- a/src/mesa/drivers/dri/i965/brw_cfg.h
+++ b/src/mesa/drivers/dri/i965/brw_cfg.h
@@ -33,7 +33,7 @@
struct bblock_t;
-struct bblock_link : public exec_node {
+struct bblock_link {
#ifdef __cplusplus
DECLARE_RALLOC_CXX_OPERATORS(bblock_link)
@@ -43,6 +43,7 @@ struct bblock_link : public exec_node {
}
#endif
+ struct exec_node link;
struct bblock_t *block;
};