summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-11-28 23:24:44 -0800
committerMatt Turner <mattst88@gmail.com>2013-12-04 20:05:42 -0800
commitd2fcdd0973ee33a2627d1dee6d78091e605af160 (patch)
tree005e7f7802eaeb3e32e33472bb960a70bd05bd64 /src/mesa/drivers/dri/i965/brw_fs_cse.cpp
parentc6450fa963b7eefbbc0ba5e00d42f1a4efba092b (diff)
i965/cfg: Clean up cfg_t constructors.
parent_mem_ctx was unused since db47074a, so remove the two wrappers around create() and make create() the constructor. Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_cse.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_cse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
index 27541db9be..d8a54346a0 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
@@ -269,7 +269,7 @@ fs_visitor::opt_cse()
calculate_live_intervals();
- cfg_t cfg(this);
+ cfg_t cfg(&instructions);
for (int b = 0; b < cfg.num_blocks; b++) {
bblock_t *block = cfg.blocks[b];