mirror of
https://github.com/danog/ir.git
synced 2024-11-30 04:39:43 +01:00
Fix live range
This commit is contained in:
parent
0eee478277
commit
76ad4e59a6
@ -542,7 +542,7 @@ int ir_get_temporary_regs(ir_ctx *ctx, ir_ref ref, ir_tmp_reg *tmp_regs)
|
|||||||
tmp_regs[n].num = 3;
|
tmp_regs[n].num = 3;
|
||||||
tmp_regs[n].type = insn->type;
|
tmp_regs[n].type = insn->type;
|
||||||
tmp_regs[n].start = IR_LOAD_SUB_REF;
|
tmp_regs[n].start = IR_LOAD_SUB_REF;
|
||||||
tmp_regs[n].end = IR_DEF_SUB_REF;
|
tmp_regs[n].end = IR_SAVE_SUB_REF;
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
return n;
|
return n;
|
||||||
|
Loading…
Reference in New Issue
Block a user