[Project64] Clean up LoopAnalysis.cpp
This commit is contained in:
parent
6b07620b74
commit
f23ba48309
|
@ -24,11 +24,11 @@
|
|||
bool DelaySlotEffectsCompare(uint32_t PC, uint32_t Reg1, uint32_t Reg2);
|
||||
|
||||
LoopAnalysis::LoopAnalysis(CCodeBlock * CodeBlock, CCodeSection * Section) :
|
||||
m_EnterSection(Section),
|
||||
m_BlockInfo(CodeBlock),
|
||||
m_PC((uint32_t)-1),
|
||||
m_NextInstruction(NORMAL),
|
||||
m_Test(m_BlockInfo->NextTest())
|
||||
m_EnterSection(Section),
|
||||
m_BlockInfo(CodeBlock),
|
||||
m_PC((uint32_t)-1),
|
||||
m_NextInstruction(NORMAL),
|
||||
m_Test(m_BlockInfo->NextTest())
|
||||
{
|
||||
memset(&m_Command, 0, sizeof(m_Command));
|
||||
}
|
||||
|
@ -758,19 +758,19 @@ bool LoopAnalysis::CheckLoopRegisterUsage(CCodeSection * Section)
|
|||
}
|
||||
break;
|
||||
case LIKELY_DELAY_SLOT:
|
||||
{
|
||||
SetContinueRegSet(Section, m_Reg);
|
||||
SetJumpRegSet(Section, m_Reg);
|
||||
}
|
||||
m_NextInstruction = END_BLOCK;
|
||||
break;
|
||||
{
|
||||
SetContinueRegSet(Section, m_Reg);
|
||||
SetJumpRegSet(Section, m_Reg);
|
||||
}
|
||||
m_NextInstruction = END_BLOCK;
|
||||
break;
|
||||
case DELAY_SLOT_DONE:
|
||||
{
|
||||
SetContinueRegSet(Section, m_Reg);
|
||||
SetJumpRegSet(Section, m_Reg);
|
||||
}
|
||||
m_NextInstruction = END_BLOCK;
|
||||
break;
|
||||
{
|
||||
SetContinueRegSet(Section, m_Reg);
|
||||
SetJumpRegSet(Section, m_Reg);
|
||||
}
|
||||
m_NextInstruction = END_BLOCK;
|
||||
break;
|
||||
case LIKELY_DELAY_SLOT_DONE:
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
if (Section->m_CompiledLocation)
|
||||
|
|
Loading…
Reference in New Issue