Jit64: clean up casts in memory operands

This commit is contained in:
Tillmann Karras
2014-12-07 20:23:27 +01:00
parent 25feb7d16c
commit 6e928d08a0
10 changed files with 60 additions and 61 deletions

View File

@ -194,7 +194,6 @@ private:
u16 indexReg;
};
inline OpArg M(const void *ptr) {return OpArg((u64)ptr, (int)SCALE_RIP);}
template <typename T>
inline OpArg M(const T *ptr) {return OpArg((u64)(const void *)ptr, (int)SCALE_RIP);}
inline OpArg R(X64Reg value) {return OpArg(0, SCALE_NONE, value);}