From e71e5068839c7122ca5336edfbb9c2804b060429 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 18 Jan 2021 17:56:40 -0500 Subject: [PATCH] This assert is redundant; not worth an extra #include. --- InstructionSets/M50740/Executor.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/InstructionSets/M50740/Executor.hpp b/InstructionSets/M50740/Executor.hpp index 29ecd3605..16273d1bd 100644 --- a/InstructionSets/M50740/Executor.hpp +++ b/InstructionSets/M50740/Executor.hpp @@ -65,8 +65,6 @@ class Executor: public CachingExecutor { const auto index = (int(operation) - MinOperation) * (1 + MaxAddressingMode - MinAddressingMode) + (int(addressing_mode) - MinAddressingMode); - - assert(index < decltype(index)(sizeof(performers_)/sizeof(*performers_))); return performers_[index]; }