Skip to content

Commit

Permalink
Merge pull request #7290 from degasus/branch_following
Browse files Browse the repository at this point in the history
Jit: Fix branch following.
  • Loading branch information
delroth committed Jul 28, 2018
2 parents 17c1345 + 5333c17 commit ae0748a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/Core/Core/PowerPC/PPCAnalyst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -714,9 +714,7 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock* block, CodeBuffer* buffer, std:
if (inst.OPCD == 18 && block_size > 1)
{
// Always follow BX instructions.
// TODO: Loop unrolling might bloat the code size too much.
// Enable it carefully.
follow = destination != block->m_address;
follow = true;
destination = SignExt26(inst.LI << 2) + (inst.AA ? 0 : address);
if (inst.LK)
{
Expand Down

0 comments on commit ae0748a

Please sign in to comment.