From 13f660158573846d6b1bc30ed4c61d97405bea58 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 29 Oct 2014 13:35:16 -0700 Subject: i965: Use local pointer to block_data in live intervals. The next patch will be simplified because of this, and makes reading the code a lot easier. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_live_variables.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_fs_live_variables.h') diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h index 6cc8a984e2f..5d63901c07e 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h +++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h @@ -87,12 +87,12 @@ public: /** @} */ /** Per-basic-block information on live variables */ - struct block_data *bd; + struct block_data *block_data; protected: void setup_def_use(); - void setup_one_read(bblock_t *block, fs_inst *inst, int ip, fs_reg reg); - void setup_one_write(bblock_t *block, fs_inst *inst, int ip, fs_reg reg); + void setup_one_read(struct block_data *bd, fs_inst *inst, int ip, fs_reg reg); + void setup_one_write(struct block_data *bd, fs_inst *inst, int ip, fs_reg reg); void compute_live_variables(); void compute_start_end(); -- cgit v1.2.3