summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-09 02:33:37 -0500
committerLioncash <mathew1800@gmail.com>2016-03-09 03:12:59 -0500
commite66a6a2a1b14cc000fd0443f6554365534098be5 (patch)
treeab7991178f8df1753750baec0eede4b21838827b /src
parent6085b419e51ea652ab030bd6a4ab3b89c993dd90 (diff)
emitter: Get rid of CanDoOpWith
This was removed in Dolphin as there were no particular uses for it. I'm sure the same will apply to citra.
Diffstat (limited to 'src')
-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)