mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Fix error in asm_fuseahuref on ARM64
Fix wrong 'allow' in asm_fuseahuref register allocation.
This commit is contained in:
parent
bd7e42e574
commit
da49569644
@ -176,7 +176,7 @@ static Reg asm_fuseahuref(ASMState *as, IRRef ref, int32_t *ofsp, RegSet allow,
|
||||
}
|
||||
} else {
|
||||
Reg base = ra_alloc1(as, ir->op1, allow);
|
||||
*ofsp = FUSE_REG|ra_alloc1(as, ir->op2, rset_exclude(RSET_GPR, base));
|
||||
*ofsp = FUSE_REG|ra_alloc1(as, ir->op2, rset_exclude(allow, base));
|
||||
return base;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user