lang: codegen: fix instr gen duplicating left operand
This commit is contained in:
@@ -388,7 +388,7 @@ static enum ivy_status state_fini(
|
||||
= b_unbox(struct expr_item, right_entry, i_entry);
|
||||
|
||||
struct mie_value *left_value = left->i_value;
|
||||
struct mie_value *right_value = left->i_value;
|
||||
struct mie_value *right_value = right->i_value;
|
||||
|
||||
if (left->i_operand_type == EXPR_OPERAND_VAR) {
|
||||
left_value = codegen_load_variable(gen, &left->i_var);
|
||||
|
||||
Reference in New Issue
Block a user