Fix bypass a->y->a chain with tya in middle
This commit is contained in:
parent
9e985f7f3d
commit
d80518871a
|
@ -33170,7 +33170,7 @@ bool NativeCodeBasicBlock::PeepHoleOptimizer(NativeCodeProcedure* proc, int pass
|
|||
taxPos = -1; tayPos = -1;
|
||||
}
|
||||
else
|
||||
taxPos = -1;
|
||||
tayPos = -1;
|
||||
}
|
||||
else if (mIns[i].RequiresXReg())
|
||||
taxPos = -1;
|
||||
|
@ -40014,6 +40014,7 @@ void NativeCodeProcedure::Optimize(void)
|
|||
ResetVisited();
|
||||
mEntryBlock->RemoveUnusedResultInstructions();
|
||||
|
||||
|
||||
#if _DEBUG
|
||||
ResetVisited();
|
||||
mEntryBlock->CheckBlocks();
|
||||
|
|
Loading…
Reference in New Issue