Use negative priorities to avoid special-casing the self-include

This commit is contained in:
Yuri Kunde Schlesner
2016-09-20 23:52:38 -07:00
parent ebdae19fd2
commit 84fbbe2629
164 changed files with 170 additions and 168 deletions

View File

@ -15,7 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "emitter.h"
#include <cinttypes>
#include <cstring>
#include "abi.h"
@ -23,6 +22,7 @@
#include "common/logging/log.h"
#include "common/memory_util.h"
#include "cpu_detect.h"
#include "emitter.h"
namespace Gen {
@ -220,7 +220,7 @@ void OpArg::WriteVex(XEmitter* emit, X64Reg regOp1, X64Reg regOp2, int L, int pp
void OpArg::WriteRest(XEmitter* emit, int extraBytes, X64Reg _operandReg,
bool warn_64bit_offset) const {
if (_operandReg == INVALID_REG)
_operandReg = (X64Reg) this->operandReg;
_operandReg = (X64Reg)this->operandReg;
int mod = 0;
int ireg = indexReg;
bool SIB = false;