From f50c45cc1ae42b8c900f753f6a6464d23e0e79bf Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 1 Dec 2023 15:35:51 -0500 Subject: [PATCH] Treat 'invalid' as a silent failure. --- InstructionSets/x86/Implementation/PerformImplementation.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/InstructionSets/x86/Implementation/PerformImplementation.hpp b/InstructionSets/x86/Implementation/PerformImplementation.hpp index d40d99faa..d0d034801 100644 --- a/InstructionSets/x86/Implementation/PerformImplementation.hpp +++ b/InstructionSets/x86/Implementation/PerformImplementation.hpp @@ -172,6 +172,8 @@ template < default: assert(false); + case Operation::Invalid: + // TODO: throw on higher-order processors. case Operation::ESC: case Operation::NOP: return;