From d4ec9737bdf0ed69a9fa00978115a036fe622a91 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Tue, 26 Aug 2014 11:28:13 +0200 Subject: [PATCH] x64Emitter: Assert when using an invalid POP instead of generating an INT3 --- Source/Core/Common/x64Emitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp index db9c651215..fdbe872795 100644 --- a/Source/Core/Common/x64Emitter.cpp +++ b/Source/Core/Common/x64Emitter.cpp @@ -666,7 +666,7 @@ void XEmitter::POP(int /*bits*/, const OpArg ®) if (reg.IsSimpleReg()) POP(reg.GetSimpleReg()); else - INT3(); + _assert_msg_(DYNA_REC, 0, "POP - Unsupported encoding"); } void XEmitter::BSWAP(int bits, X64Reg reg)