Fix 16 bit indexed ops lost high byte offset
This commit is contained in:
parent
e52e554fec
commit
ef7b391da0
|
@ -25883,7 +25883,7 @@ bool NativeCodeBasicBlock::PeepHoleOptimizer(NativeCodeProcedure* proc, int pass
|
|||
}
|
||||
else
|
||||
{
|
||||
InsertLoadYImmediate(i + 2, 0);
|
||||
InsertLoadYImmediate(i + 2, mIns[i + 0].mAddress);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -30425,7 +30425,7 @@ void NativeCodeProcedure::RebuildEntry(void)
|
|||
|
||||
void NativeCodeProcedure::Optimize(void)
|
||||
{
|
||||
CheckFunc = !strcmp(mInterProc->mIdent->mString, "main");
|
||||
CheckFunc = !strcmp(mInterProc->mIdent->mString, "test");
|
||||
|
||||
#if 1
|
||||
int step = 0;
|
||||
|
|
Loading…
Reference in New Issue