mirror of
https://github.com/danog/ir.git
synced 2024-11-30 04:39:43 +01:00
Fix spill slot comparison
This commit is contained in:
parent
cdd39f22b0
commit
177e556754
@ -1720,7 +1720,7 @@ static bool ir_is_same_mem(ir_ctx *ctx, ir_ref r1, ir_ref r2)
|
||||
o1 = ival1->stack_spill_pos;
|
||||
o2 = ival2->stack_spill_pos;
|
||||
IR_ASSERT(o1 != -1 && o2 != -1);
|
||||
return o1 == o2 && o1;
|
||||
return o1 == o2;
|
||||
}
|
||||
|
||||
static void ir_emit_mov(ir_ctx *ctx, ir_type type, ir_reg dst, ir_reg src)
|
||||
|
Loading…
Reference in New Issue
Block a user