mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 15:39:59 +00:00
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.
This commit is contained in:
parent
6085b419e5
commit
e66a6a2a1b
1 changed files with 0 additions and 7 deletions
|
@ -190,13 +190,6 @@ struct OpArg
|
||||||
return IsSimpleReg() && GetSimpleReg() == reg;
|
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
|
int GetImmBits() const
|
||||||
{
|
{
|
||||||
switch (scale)
|
switch (scale)
|
||||||
|
|
Loading…
Reference in a new issue