mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Add support for equality comparison of CallSite's.
llvm-svn: 49616
This commit is contained in:
parent
b54defaff0
commit
f5e5f92891
@ -39,6 +39,9 @@ public:
|
||||
CallSite(const CallSite &CS) : I(CS.I) {}
|
||||
CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; }
|
||||
|
||||
bool operator==(const CallSite &CS) const { return I == CS.I; }
|
||||
bool operator!=(const CallSite &CS) const { return I != CS.I; }
|
||||
|
||||
/// CallSite::get - This static method is sort of like a constructor. It will
|
||||
/// create an appropriate call site for a Call or Invoke instruction, but it
|
||||
/// can also create a null initialized CallSite object for something which is
|
||||
|
Loading…
Reference in New Issue
Block a user