glsl: Remove unused mem_ctx field from ir_array_splitting_visitor.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Apr 2012 02:10:03 +0000 (19:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Apr 2012 02:11:10 +0000 (19:11 -0700)
Vinson reported that we failed to initialize this, which would lead to
all kinds of crashes if we actually used it.  Since we don't use it,
we may as well just delete the broken code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/opt_array_splitting.cpp

index f11b51631db73454a4b93dcef518d5cb3db6ff9d..5cf448b196dacaa4eac8ef7e269a8896dd19ff97 100644 (file)
@@ -236,7 +236,6 @@ public:
    variable_entry *get_splitting_entry(ir_variable *var);
 
    exec_list *variable_list;
-   void *mem_ctx;
 };
 
 variable_entry *