Remove Block.TailCall since it is not used anymore

This commit is contained in:
FICTURE7 2021-04-11 13:56:50 +04:00
parent 6f4cb3c0ad
commit 68bff558db
2 changed files with 3 additions and 5 deletions

View file

@ -11,7 +11,6 @@ namespace ARMeilleure.Decoders
public Block Next { get; set; }
public Block Branch { get; set; }
public bool TailCall { get; set; }
public bool Exit { get; set; }
public List<OpCode> OpCodes { get; }

View file

@ -58,7 +58,7 @@ namespace ARMeilleure.Decoders.Optimizations
return blocks.ToArray(); // Nothing to do here.
}
// Mark branches outside of contiguous region as exit blocks.
// Mark branches whose target is outside of the contiguous region as an exit block.
for (int i = startBlockIndex; i <= endBlockIndex; i++)
{
Block block = blocks[i];
@ -66,7 +66,6 @@ namespace ARMeilleure.Decoders.Optimizations
if (block.Branch != null && (block.Branch.Address > endBlock.EndAddress || block.Branch.EndAddress < startBlock.Address))
{
block.Branch.Exit = true;
block.Branch.TailCall = true;
}
}