diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-09-02 08:55:07 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-09-02 09:52:04 +0200 |
| commit | f99f302c9188e53eb745afa7bd5cc0b84d9f6092 (patch) | |
| tree | b66a316858bbf6a213fc73a870b324c29b74c143 /Source | |
| parent | b1738b60fc323bea7e694b08ae662acc15827b51 (diff) | |
x64Emitter: assert instead of crashing when generating MOVZX with a wrong size
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/x64Emitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp index 276b3a08c9..0a9a10487c 100644 --- a/Source/Core/Common/x64Emitter.cpp +++ b/Source/Core/Common/x64Emitter.cpp @@ -833,7 +833,7 @@ void XEmitter::MOVZX(int dbits, int sbits, X64Reg dest, OpArg src) } else { - Crash(); + _assert_msg_(DYNA_REC, 0, "MOVZX - Invalid size"); } src.WriteRest(this); } |
