diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-06-28 01:18:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 01:18:19 +0200 |
commit | fbaf62c2309f2987fa73a2022167ee3e81e31ea9 (patch) | |
tree | 9d2ef3298843b551a544acc429f2269f101af935 /src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs | |
parent | b186ec9fc5684bd8fa831a1777f6e936b897c352 (diff) |
Apply new naming rule to all projects except Vp9 (#5407)1.1.927
Diffstat (limited to 'src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs')
-rw-r--r-- | src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs b/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs index ff9a6f27..20759f35 100644 --- a/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs +++ b/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs @@ -17,7 +17,7 @@ namespace ARMeilleure.Decoders.Optimizations throw new InvalidOperationException("Function entry point is not contained in a block."); } - const ulong allowance = 4; + const ulong Allowance = 4; Block entryBlock = blocks[entryBlockId]; @@ -31,7 +31,7 @@ namespace ARMeilleure.Decoders.Optimizations { Block block = blocks[i]; - if (endBlock.EndAddress < block.Address - allowance) + if (endBlock.EndAddress < block.Address - Allowance) { break; // End of contiguous function. } @@ -44,7 +44,7 @@ namespace ARMeilleure.Decoders.Optimizations { Block block = blocks[i]; - if (startBlock.Address > block.EndAddress + allowance) + if (startBlock.Address > block.EndAddress + Allowance) { break; // End of contiguous function. } |