From 0a9c392371d023aeec78fb729a3e519e2302cf15 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 13 Oct 2022 15:01:06 -0400 Subject: [PATCH] Remove unused `bit_count`. --- .../M68k/Implementation/PerformImplementation.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/InstructionSets/M68k/Implementation/PerformImplementation.hpp b/InstructionSets/M68k/Implementation/PerformImplementation.hpp index b7954fbc4..1a73ffe74 100644 --- a/InstructionSets/M68k/Implementation/PerformImplementation.hpp +++ b/InstructionSets/M68k/Implementation/PerformImplementation.hpp @@ -29,11 +29,6 @@ template constexpr IntT top_bit() { return max - (max >> 1); } -/// @returns The number of bits in @c IntT. -template constexpr int bit_count() { - return sizeof(IntT) * 8; -} - /// @returns An int with the top bit indicating whether overflow occurred when @c source and @c destination /// were either added (if @c is_add is true) or subtracted (if @c is_add is false) and the result was @c result. /// All other bits will be clear.