Merge pull request #1089 from FioraAeterna/fixemittersilentfail

x64Emitter: fix silent failure if WriteNormalOp is passed two memory operands
This commit is contained in:
comex 2014-09-15 14:53:21 -04:00
commit 847f78e4cc

View File

@ -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);
}
}