summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:57:28 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:57:28 +0000
commit8b2bd4ed47e819e042a49d21abbd8f6bcd143f79 (patch)
treeba3a478e91b08ac7ff56e4f216b2af0fb7bac92a /llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
parentd67697411af42b41073552b7ff73775ec6f9e6f2 (diff)
downloadbcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.tar.gz
bcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.zip
Fix spelling.
llvm-svn: 9027
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
index 4f46e5b45c0..8571dc819d7 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
@@ -174,7 +174,7 @@ void Graph::addNode(Node *nd){
//add an edge
//this adds an edge ONLY when
-//the edge to be added doesn not already exist
+//the edge to be added does not already exist
//we "equate" two edges here only with their
//end points
void Graph::addEdge(Edge ed, int w){
@@ -497,7 +497,7 @@ void Graph::makeUnDirectional(){
//reverse the sign of weights on edges
//this way, max-spanning tree could be obtained
-//usin min-spanning tree, and vice versa
+//using min-spanning tree, and vice versa
void Graph::reverseWts(){
vector<Node *> allNodes=getAllNodes();
for(vector<Node *>::iterator NI=allNodes.begin(), NE=allNodes.end(); NI!=NE;
OpenPOWER on IntegriCloud