summaryrefslogtreecommitdiffstats
path: root/src/common/x64
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-09 08:33:37 +0100
committerLioncash <mathew1800@gmail.com>2016-03-09 09:12:59 +0100
commite66a6a2a1b14cc000fd0443f6554365534098be5 (patch)
treeab7991178f8df1753750baec0eede4b21838827b /src/common/x64
parentemitter: constexpr-ify OpArg (diff)
downloadyuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar
yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar.gz
yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar.bz2
yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar.lz
yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar.xz
yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar.zst
yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.zip
Diffstat (limited to 'src/common/x64')
-rw-r--r--src/common/x64/emitter.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/x64/emitter.h b/src/common/x64/emitter.h
index 5e228f159..a1d8ab31f 100644
--- a/src/common/x64/emitter.h
+++ b/src/common/x64/emitter.h
@@ -190,13 +190,6 @@ struct OpArg
return IsSimpleReg() && GetSimpleReg() == reg;
}
- bool CanDoOpWith(const OpArg &other) const
- {
- if (IsSimpleReg()) return true;
- if (!IsSimpleReg() && !other.IsSimpleReg() && !other.IsImm()) return false;
- return true;
- }
-
int GetImmBits() const
{
switch (scale)