diff options
| author | comex <comexk@gmail.com> | 2014-09-15 14:53:21 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-09-15 14:53:21 -0400 |
| commit | 847f78e4ccd2613c4f58691897429e4ff81854bd (patch) | |
| tree | 39194823fa686d86aef9dcd70922be6e813342b6 /Source/Core/Common/x64Emitter.cpp | |
| parent | 68b2d86daf212d26990166c2c47faef092e7456e (diff) | |
| parent | 02dce5dbbf7b399efda28601e32e2eeaf663c31a (diff) | |
Merge pull request #1089 from FioraAeterna/fixemittersilentfail
x64Emitter: fix silent failure if WriteNormalOp is passed two memory operands
Diffstat (limited to 'Source/Core/Common/x64Emitter.cpp')
| -rw-r--r-- | Source/Core/Common/x64Emitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp index ec80600260..fa16cf2b36 100644 --- a/Source/Core/Common/x64Emitter.cpp +++ b/Source/Core/Common/x64Emitter.cpp @@ -1222,6 +1222,7 @@ void XEmitter::WriteNormalOp(XEmitter *emit, int bits, NormalOp op, const OpArg } else { + _assert_msg_(DYNA_REC, a2.IsSimpleReg() || a2.IsImm(), "WriteNormalOp - a1 and a2 cannot both be memory"); a1.WriteNormalOp(emit, true, op, a2, bits); } } |
