[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 20 21:10:02 PDT 2002
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.13 -> 1.14
---
Log message:
Two callsites are equivalent even if they are from two completely different
call instructions
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.13 llvm/include/llvm/Analysis/DSGraph.h:1.14
--- llvm/include/llvm/Analysis/DSGraph.h:1.13 Sun Oct 20 21:08:00 2002
+++ llvm/include/llvm/Analysis/DSGraph.h Sun Oct 20 21:09:03 2002
@@ -409,8 +409,6 @@
}
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 @@
}
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;
}
};
More information about the llvm-commits
mailing list