Skip to content

Commit

Permalink
Fix over eager taxa range reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
drmortalwombat committed Feb 27, 2023
1 parent 1b31742 commit 096d9ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oscar64/NativeCodeGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20904,6 +20904,8 @@ bool NativeCodeBasicBlock::JoinTAXARange(int from, int to)
{
if (mIns[i].mMode == ASMIM_ZERO_PAGE && mIns[i].mAddress == mIns[start - 1].mAddress && mIns[i].ChangesAddress())
return false;
if ((mIns[start - 1].mLive & LIVE_CPU_REG_C) && mIns[i].ChangesCarry())
return false;
}

start--;
Expand Down Expand Up @@ -35952,7 +35954,7 @@ void NativeCodeProcedure::RebuildEntry(void)

void NativeCodeProcedure::Optimize(void)
{
CheckFunc = !strcmp(mInterProc->mIdent->mString, "rirq_sort");
CheckFunc = !strcmp(mInterProc->mIdent->mString, "main");

#if 1
int step = 0;
Expand Down

0 comments on commit 096d9ef

Please sign in to comment.