summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilePaths
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-05 06:12:18 +0000
committerChris Lattner <sabre@nondot.org>2003-11-05 06:12:18 +0000
commit813ec047355b9a82935304733e36e82c47d6371f (patch)
treede8f8e2286d188e9d5499c6401d85dad8c653600 /llvm/lib/Transforms/Instrumentation/ProfilePaths
parentc17fe1cdfed4cf899070311d6e7587b803337c20 (diff)
downloadbcm5719-llvm-813ec047355b9a82935304733e36e82c47d6371f.tar.gz
bcm5719-llvm-813ec047355b9a82935304733e36e82c47d6371f.zip
Be gcc 3.4 clean
llvm-svn: 9725
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
index 45c726c80dd..5597b599e06 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
+++ b/llvm/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());
OpenPOWER on IntegriCloud