mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Fix logic not invert that if some registers are left still give extra registry causing slower performance than only doing extra registry when needed.
Fix logic not invert that if some registers are left still give extra registry causing slower performance than only doing extra registry when needed.
This commit is contained in:
parent
a70d07a7bb
commit
446d46081f
1 changed files with 2 additions and 2 deletions
|
|
@ -1023,7 +1023,7 @@ EmitStoreBufferMutation(MacroAssembler& masm, Register strbase, int32_t strofs,
|
|||
Register addrReg = regs.takeAny();
|
||||
masm.computeEffectiveAddress(Address(strbase, strofs), addrReg);
|
||||
|
||||
bool needExtraReg = !regs.empty();
|
||||
bool needExtraReg = regs.empty();
|
||||
if (needExtraReg) {
|
||||
masm.push(strbase);
|
||||
masm.setupUnalignedABICall(strbase);
|
||||
|
|
@ -1101,7 +1101,7 @@ EmitStoreBufferMutation(MacroAssembler& masm, Register holder, size_t offset,
|
|||
|
||||
masm.computeEffectiveAddress(Address(holder, offset), addrReg);
|
||||
|
||||
bool needExtraReg = !regs.empty();
|
||||
bool needExtraReg = regs.empty();
|
||||
if (needExtraReg) {
|
||||
masm.push(holder);
|
||||
masm.setupUnalignedABICall(holder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue