diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-03-16 12:57:36 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-03-16 13:01:11 -0400 |
| commit | 75f5fcdfee4cd643aa347ea69db05c595ed39caf (patch) | |
| tree | 840fcdbc69b82dd947b7f4549c01be5146e19c26 /Source/Core/Common/x64Emitter.cpp | |
| parent | 328585ef17386f3a27cae86c2863ede5a28971ef (diff) | |
Assert: Remove unused parameter from DEBUG_ASSERT
This brings the macro in line with the regular ASSERT macro, which only has one
macro parameter.
Diffstat (limited to 'Source/Core/Common/x64Emitter.cpp')
| -rw-r--r-- | Source/Core/Common/x64Emitter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp index 2654ca0cdc..0b2ca9c4a6 100644 --- a/Source/Core/Common/x64Emitter.cpp +++ b/Source/Core/Common/x64Emitter.cpp @@ -187,8 +187,8 @@ void OpArg::WriteREX(XEmitter* emit, int opBits, int bits, int customOp) const { emit->Write8(op); // Check the operation doesn't access AH, BH, CH, or DH. - DEBUG_ASSERT(DYNA_REC, (offsetOrBaseReg & 0x100) == 0); - DEBUG_ASSERT(DYNA_REC, (customOp & 0x100) == 0); + DEBUG_ASSERT((offsetOrBaseReg & 0x100) == 0); + DEBUG_ASSERT((customOp & 0x100) == 0); } } @@ -553,7 +553,7 @@ void XEmitter::RET_FAST() // The first sign of decadence: optimized NOPs. void XEmitter::NOP(size_t size) { - DEBUG_ASSERT(DYNA_REC, (int)size > 0); + DEBUG_ASSERT((int)size > 0); while (true) { switch (size) @@ -1587,7 +1587,7 @@ void XEmitter::CMP_or_TEST(int bits, const OpArg& a1, const OpArg& a2) void XEmitter::MOV_sum(int bits, X64Reg dest, const OpArg& a1, const OpArg& a2) { // This stomps on flags, so ensure they aren't locked - DEBUG_ASSERT(DYNA_REC, !flags_locked); + DEBUG_ASSERT(!flags_locked); // Zero shortcuts (note that this can generate no code in the case where a1 == dest && a2 == zero // or a2 == dest && a1 == zero) |
