x64Emitter: Make WriteModRM and WriteSIB private

These shouldn't be public.
This commit is contained in:
Lioncash 2015-08-20 19:29:36 -04:00
parent f481a306c2
commit b903921b14

View File

@ -283,6 +283,8 @@ private:
void CheckFlags();
void Rex(int w, int r, int x, int b);
void WriteModRM(int mod, int rm, int reg);
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);
void WriteMulDivType(int bits, OpArg src, int ext);
@ -319,9 +321,6 @@ public:
XEmitter(u8* code_ptr) { code = code_ptr; flags_locked = false; }
virtual ~XEmitter() {}
void WriteModRM(int mod, int rm, int reg);
void WriteSIB(int scale, int index, int base);
void SetCodePtr(u8* ptr);
void ReserveCodeSpace(int bytes);
const u8* AlignCode4();