mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Two callsites are equivalent even if they are from two completely different
call instructions llvm-svn: 4241
This commit is contained in:
parent
2914391ab6
commit
ca982e6b42
@ -409,8 +409,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool operator<(const DSCallSite &CS) const {
|
bool operator<(const DSCallSite &CS) const {
|
||||||
if (Inst < CS.Inst) return true;
|
|
||||||
if (Inst > CS.Inst) return false;
|
|
||||||
if (RetVal < CS.RetVal) return true;
|
if (RetVal < CS.RetVal) return true;
|
||||||
if (RetVal > CS.RetVal) return false;
|
if (RetVal > CS.RetVal) return false;
|
||||||
if (Callee < CS.Callee) return true;
|
if (Callee < CS.Callee) return true;
|
||||||
@ -419,7 +417,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool operator==(const DSCallSite &CS) const {
|
bool operator==(const DSCallSite &CS) const {
|
||||||
return Inst == CS.Inst && RetVal == CS.RetVal && Callee == CS.Callee &&
|
return RetVal == CS.RetVal && Callee == CS.Callee &&
|
||||||
CallArgs == CS.CallArgs;
|
CallArgs == CS.CallArgs;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user