~sircmpwn/hare unlisted

6a78049333c38d39eba80b6324e46cb0f19bae62 — Eyal Sawady a month ago 73408ab
gen: implement unary plus
1 files changed, 4 insertions(+), 1 deletions(-)

M src/gen.c
M src/gen.c => src/gen.c +4 -1
@@ 2570,7 2570,10 @@ ha_build_ir_expr_unary_arithm(struct ha_qbe_context *context,
		ha_qbe_temporary_copy(qbe_arg, &instr.arithm.out);
		break;
	case HA_ARITHM_UNARY_PLUS:
		assert(0); /* TODO: no-op/copy */
		/* no-op */
		ha_build_ir_expr(context, qbe_body, qbe_arg,
				expr->unary_arithm.operand);
		break;
	case HA_ARITHM_UNARY_DEREFERENCE:
		instr.class = HA_QBE_INSTR_CLASS_MEMORY;
		instr.memory.instr = ha_load_instruction_for_type(