diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
commit | 8b2bd4ed47e819e042a49d21abbd8f6bcd143f79 (patch) | |
tree | ba3a478e91b08ac7ff56e4f216b2af0fb7bac92a /llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | |
parent | d67697411af42b41073552b7ff73775ec6f9e6f2 (diff) | |
download | bcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.tar.gz bcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.zip |
Fix spelling.
llvm-svn: 9027
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index 962996247ce..9401afec0d0 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp +++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp @@ -1,6 +1,6 @@ //===-- ProfilePaths.cpp - interface to insert instrumentation ---*- C++ -*--=// // -// This inserts intrumentation for counting +// This inserts instrumentation for counting // execution of paths though a given function // Its implemented as a "Function" Pass, and called using opt // @@ -13,7 +13,7 @@ // // The algorithms work on a Graph constructed over the nodes // made from Basic Blocks: The transformations then take place on -// the constucted graph (implementation in Graph.cpp and GraphAuxillary.cpp) +// the constructed graph (implementation in Graph.cpp and GraphAuxiliary.cpp) // and finally, appropriate instrumentation is placed over suitable edges. // (code inserted through EdgeCode.cpp). // @@ -81,7 +81,7 @@ bool ProfilePaths::runOnFunction(Function &F){ Node *tmp; Node *exitNode = 0, *startNode = 0; - // The nodes must be uniquesly identified: + // The nodes must be uniquely identified: // That is, no two nodes must hav same BB* for (Function::iterator BB = F.begin(), BE = F.end(); BB != BE; ++BB) { @@ -93,7 +93,7 @@ bool ProfilePaths::runOnFunction(Function &F){ startNode=nd; } - // now do it againto insert edges + // now do it again to insert edges for (Function::iterator BB = F.begin(), BE = F.end(); BB != BE; ++BB){ Node *nd=findBB(nodes, BB); assert(nd && "No node for this edge!"); @@ -174,7 +174,7 @@ bool ProfilePaths::runOnFunction(Function &F){ if(fr->getParent()->getName() == "main"){ - //intialize threshold + //initialize threshold // FIXME: THIS IS HORRIBLY BROKEN. FUNCTION PASSES CANNOT DO THIS, EXCEPT // IN THEIR INITIALIZE METHOD!! |