Add guard for obscure aliasing between open upvalues and SSA slots.
Thanks to Peter Cawley.
This commit is contained in:
@@ -976,7 +976,6 @@ static void asm_newref(ASMState *as, IRIns *ir)
|
||||
|
||||
static void asm_uref(ASMState *as, IRIns *ir)
|
||||
{
|
||||
/* NYI: Check that UREFO is still open and not aliasing a slot. */
|
||||
Reg dest = ra_dest(as, ir, RSET_GPR);
|
||||
if (irref_isk(ir->op1)) {
|
||||
GCfunc *fn = ir_kfunc(IR(ir->op1));
|
||||
|
||||
Reference in New Issue
Block a user