Zebediah Figura : d3dcompiler: Get rid of the unused "subexpressions" field of struct hlsl_ir_expr.
Alexandre Julliard
julliard at winehq.org
Sun Feb 16 15:23:58 CST 2020
Module: wine
Branch: master
Commit: 81a7da48b999a5fc4cf7470101fe88c489787593
URL: https://source.winehq.org/git/wine.git/?a=commit;h=81a7da48b999a5fc4cf7470101fe88c489787593
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Tue Feb 11 22:54:21 2020 -0600
d3dcompiler: Get rid of the unused "subexpressions" field of struct hlsl_ir_expr.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 9c58830ffe..3146f57c59 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 a1470cd0f5..5e497495e6 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);
}
More information about the wine-cvs
mailing list