From 6253623e9b5909fe0b2d7bf7691d422b5e38ede4 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 9 Jun 2019 21:23:06 +0900 Subject: [PATCH] Remove some weird dereference code It appears to have been an attempt at optimizing dereferences, but it instead just utterly mangled them. --- tools/qfcc/source/statements.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/qfcc/source/statements.c b/tools/qfcc/source/statements.c index 79f2ba3d3..fb55412e1 100644 --- a/tools/qfcc/source/statements.c +++ b/tools/qfcc/source/statements.c @@ -567,11 +567,6 @@ expr_assign (sblock_t *sblock, expr_t *e, operand_t **op) sblock = statement_subexpr (sblock, dst_expr->e.expr.e1, &dst); sblock = statement_subexpr (sblock, dst_expr->e.expr.e2, &ofs); } else { - if (dst_expr->type == ex_uexpr - && dst_expr->e.expr.op == '&') { - opcode = "="; - dst_expr = unary_expr ('.', dst_expr); - } sblock = statement_subexpr (sblock, dst_expr, &dst); ofs = 0; }