Remove some weird dereference code

It appears to have been an attempt at optimizing dereferences, but it
instead just utterly mangled them.
This commit is contained in:
Bill Currie 2019-06-09 21:23:06 +09:00
parent f49303e774
commit 6253623e9b

View file

@ -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;
}