Fixed typo

This commit is contained in:
Dmitry Stogov 2023-05-29 15:52:17 +03:00
parent 4d2ef9401f
commit 87f2fc7f69
2 changed files with 2 additions and 2 deletions

View File

@ -4532,7 +4532,7 @@ static void ir_allocate_unique_spill_slots(ir_ctx *ctx)
ctx->live_intervals[ctx->vregs[use_insn->op3]] = ival;
ival->type = insn->type;
ival->reg = IR_REG_NONE;
ival->vreg = ctx->vregs[insn->op3];
ival->vreg = ctx->vregs[use_insn->op3];
ival->stack_spill_pos = stack_spill_pos;
}
}

View File

@ -7653,7 +7653,7 @@ static void ir_allocate_unique_spill_slots(ir_ctx *ctx)
ctx->live_intervals[ctx->vregs[use_insn->op3]] = ival;
ival->type = insn->type;
ival->reg = IR_REG_NONE;
ival->vreg = ctx->vregs[insn->op3];
ival->vreg = ctx->vregs[use_insn->op3];
ival->stack_spill_pos = stack_spill_pos;
}
}