Explorar o código

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.
Lioncash %!s(int64=10) %!d(string=hai) anos
pai
achega
e66a6a2a1b
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      src/common/x64/emitter.h

+ 0 - 7
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)