mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
Two callsites are equivalent even if they are from two completely different
call instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4241 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0969c50cb8
commit
b0a37b70e8
@ -409,8 +409,6 @@ public:
|
||||
}
|
||||
|
||||
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 false;
|
||||
if (Callee < CS.Callee) return true;
|
||||
@ -419,7 +417,7 @@ public:
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
@ -409,8 +409,6 @@ public:
|
||||
}
|
||||
|
||||
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 false;
|
||||
if (Callee < CS.Callee) return true;
|
||||
@ -419,7 +417,7 @@ public:
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user