mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fix another MSVC issue after 367965
Repeated the fix for MCRegister in Register This reverts r367932 (git commit eac86ec25f5cd5d7a973c913d3c2ca8c90b24115) llvm-svn: 367967
This commit is contained in:
parent
ca214cfdce
commit
ff07166879
@ -126,6 +126,9 @@ public:
|
||||
bool operator!=(unsigned Other) const { return Reg != Other; }
|
||||
bool operator==(int Other) const { return Reg == unsigned(Other); }
|
||||
bool operator!=(int Other) const { return Reg != unsigned(Other); }
|
||||
// MSVC requires that we explicitly declare these two as well.
|
||||
bool operator==(MCPhysReg Other) const { return Reg == unsigned(Other); }
|
||||
bool operator!=(MCPhysReg Other) const { return Reg != unsigned(Other); }
|
||||
};
|
||||
|
||||
// Provide DenseMapInfo for Register
|
||||
|
Loading…
x
Reference in New Issue
Block a user