x64Emitter: Amend parameter ordering for WriteModRM()'s prototype

The definition of the function uses the ordering {mod, reg, rm}, which
is correct. Match the prototype to this, so that the parameter list
isn't misleading.
This commit is contained in:
Lioncash 2018-05-30 09:27:09 -04:00
parent 4fb2d580d8
commit 81e11b2406
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ private:
void CheckFlags();
void Rex(int w, int r, int x, int b);
void WriteModRM(int mod, int rm, int reg);
void WriteModRM(int mod, int reg, int rm);
void WriteSIB(int scale, int index, int base);
void WriteSimple1Byte(int bits, u8 byte, X64Reg reg);
void WriteSimple2Byte(int bits, u8 byte1, u8 byte2, X64Reg reg);