projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe32bf5
)
Be gcc 3.4 clean
author
Chris Lattner
<sabre@nondot.org>
Wed, 5 Nov 2003 06:12:18 +0000
(06:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 5 Nov 2003 06:12:18 +0000
(06:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9725
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Instrumentation/ProfilePaths/Graph.h
patch
|
blob
|
history
diff --git
a/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
b/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
index 45c726c80dd7f0b8c4086539965b36eb5cbd8a2c..5597b599e0601107479e341b810c88bfdc4e880a 100644
(file)
--- a/
lib/Transforms/Instrumentation/ProfilePaths/Graph.h
+++ b/
lib/Transforms/Instrumentation/ProfilePaths/Graph.h
@@
-114,12
+114,14
@@
struct graphListElement{
namespace std {
+ template<>
struct less<Node *> : public binary_function<Node *, Node *,bool> {
bool operator()(Node *n1, Node *n2) const {
return n1->getElement() < n2->getElement();
}
};
-
+
+ template<>
struct less<Edge> : public binary_function<Edge,Edge,bool> {
bool operator()(Edge e1, Edge e2) const {
assert(!e1.isNull() && !e2.isNull());