i965/fs: Remove a dead member from live variables analysis.
authorEric Anholt <eric@anholt.net>
Mon, 4 Jun 2012 22:44:58 +0000 (15:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 30 Aug 2012 03:46:51 +0000 (20:46 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.h

index 40877c93374b17b63c5647667dd3c9df34a15f7c..16480ad8a90cd391b6d263551e948744eec8eb86 100644 (file)
@@ -139,7 +139,6 @@ fs_live_variables::fs_live_variables(fs_visitor *v, fs_cfg *cfg)
 
    num_vars = v->virtual_grf_count;
    bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks);
-   vars = rzalloc_array(mem_ctx, struct var, num_vars);
 
    for (int i = 0; i < cfg->num_blocks; i++) {
       bd[i].def = rzalloc_array(mem_ctx, bool, num_vars);
index 17e75531523b3ee8f81c8260aa3fb3710a7f80e8..065f31320604ce8cbd83690b4a329beb741496da 100644 (file)
@@ -72,11 +72,6 @@ public:
    fs_cfg *cfg;
    void *mem_ctx;
 
-   struct var {
-      int blocknum;
-      int instnum;
-      fs_inst *inst;
-   } *vars;
    int num_vars;
 
    /** Per-basic-block information on live variables */