[PATCH 5/5] d3dcompiler: Get rid of the unused "subexpressions" field of struct hlsl_ir_expr.

Zebediah Figura z.figura12 at gmail.com
Tue Feb 11 22:54:21 CST 2020


From: Zebediah Figura <zfigura at codeweavers.com>

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/d3dcompiler_43/d3dcompiler_private.h | 1 -
 dlls/d3dcompiler_43/utils.c               | 1 -
 2 files changed, 2 deletions(-)

diff --git a/dlls/d3dcompiler_43/d3dcompiler_private.h b/dlls/d3dcompiler_43/d3dcompiler_private.h
index 9c58830ffe2..3146f57c59d 100644
--- a/dlls/d3dcompiler_43/d3dcompiler_private.h
+++ b/dlls/d3dcompiler_43/d3dcompiler_private.h
@@ -879,7 +879,6 @@ struct hlsl_ir_expr
     struct hlsl_ir_node node;
     enum hlsl_ir_expr_op op;
     struct hlsl_ir_node *operands[3];
-    struct list *subexpressions;
 };
 
 enum hlsl_ir_jump_type
diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c
index a1470cd0f5c..5e497495e60 100644
--- a/dlls/d3dcompiler_43/utils.c
+++ b/dlls/d3dcompiler_43/utils.c
@@ -2186,7 +2186,6 @@ static void free_ir_constructor(struct hlsl_ir_constructor *constructor)
 
 static void free_ir_expr(struct hlsl_ir_expr *expr)
 {
-    free_instr_list(expr->subexpressions);
     d3dcompiler_free(expr);
 }
 
-- 
2.25.0




More information about the wine-devel mailing list