diff options
| author | 2016-03-09 02:33:37 -0500 | |
|---|---|---|
| committer | 2016-03-09 03:12:59 -0500 | |
| commit | e66a6a2a1b14cc000fd0443f6554365534098be5 (patch) | |
| tree | ab7991178f8df1753750baec0eede4b21838827b /src | |
| parent | emitter: constexpr-ify OpArg (diff) | |
| download | yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar.gz yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.tar.xz yuzu-e66a6a2a1b14cc000fd0443f6554365534098be5.zip | |
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.h | 7 |
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 | |||
| 190 | return IsSimpleReg() && GetSimpleReg() == reg; | 190 | return IsSimpleReg() && GetSimpleReg() == reg; |
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | bool CanDoOpWith(const OpArg &other) const | ||
| 194 | { | ||
| 195 | if (IsSimpleReg()) return true; | ||
| 196 | if (!IsSimpleReg() && !other.IsSimpleReg() && !other.IsImm()) return false; | ||
| 197 | return true; | ||
| 198 | } | ||
| 199 | |||
| 200 | int GetImmBits() const | 193 | int GetImmBits() const |
| 201 | { | 194 | { |
| 202 | switch (scale) | 195 | switch (scale) |