summaryrefslogtreecommitdiff
path: root/Source/Core/Common/x64Emitter.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-08-26 11:28:13 +0200
committerPierre Bourdon <delroth@gmail.com>2014-09-02 09:52:04 +0200
commitd4ec9737bdf0ed69a9fa00978115a036fe622a91 (patch)
treef0ac07d79a8939f540e54eb9aaff252eb2cf8c89 /Source/Core/Common/x64Emitter.cpp
parent9c4daac3a4bb7412203219e0cbfad0057c57bbbe (diff)
x64Emitter: Assert when using an invalid POP instead of generating an INT3
Diffstat (limited to 'Source/Core/Common/x64Emitter.cpp')
-rw-r--r--Source/Core/Common/x64Emitter.cpp2
1 files changed, 1 insertions, 1 deletions
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 &reg)
if (reg.IsSimpleReg())
POP(reg.GetSimpleReg());
else
- INT3();
+ _assert_msg_(DYNA_REC, 0, "POP - Unsupported encoding");
}
void XEmitter::BSWAP(int bits, X64Reg reg)