summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2014-12-07 20:23:27 +0100
committerTillmann Karras <tilkax@gmail.com>2014-12-07 20:23:27 +0100
commit6e928d08a082ef8c8a0c3e4f0885b4085a3f5507 (patch)
tree52ef0125450afe124e72b99a401fe5d2dee80778 /Source/Core/Common
parent25feb7d16c2589525d1a5560f1d6ed5fd3757162 (diff)
Jit64: clean up casts in memory operands
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/x64Emitter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/Common/x64Emitter.h b/Source/Core/Common/x64Emitter.h
index 639b78e5f7..03aeea4b13 100644
--- a/Source/Core/Common/x64Emitter.h
+++ b/Source/Core/Common/x64Emitter.h
@@ -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);}