summaryrefslogtreecommitdiffstats
path: root/llvm/runtime
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
committerChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
commit0ab5e2cdedba59b4f81152d72d70e1796f796834 (patch)
tree2b0d5d1a27ca9c3a382b2c0ed091fd7aebc857cc /llvm/runtime
parentb5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca (diff)
downloadbcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.tar.gz
bcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.zip
Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes! llvm-svn: 129558
Diffstat (limited to 'llvm/runtime')
-rw-r--r--llvm/runtime/libprofile/OptimalEdgeProfiling.c2
-rw-r--r--llvm/runtime/libprofile/PathProfiling.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/runtime/libprofile/OptimalEdgeProfiling.c b/llvm/runtime/libprofile/OptimalEdgeProfiling.c
index eb7887b2aea..947da532605 100644
--- a/llvm/runtime/libprofile/OptimalEdgeProfiling.c
+++ b/llvm/runtime/libprofile/OptimalEdgeProfiling.c
@@ -26,7 +26,7 @@ static void OptEdgeProfAtExitHandler() {
/* Note that, although the array has a counter for each edge, not all
* counters are updated, the ones that are not used are initialised with -1.
* When loading this information the counters with value -1 have to be
- * recalculated, it is guranteed that this is possible.
+ * recalculated, it is guaranteed that this is possible.
*/
write_profiling_data(OptEdgeInfo, ArrayStart, NumElements);
}
diff --git a/llvm/runtime/libprofile/PathProfiling.c b/llvm/runtime/libprofile/PathProfiling.c
index 651e63cbdd2..29671f53d6f 100644
--- a/llvm/runtime/libprofile/PathProfiling.c
+++ b/llvm/runtime/libprofile/PathProfiling.c
@@ -105,7 +105,7 @@ void writeArrayTable(uint32_t fNumber, ftEntry_t* ft, uint32_t* funcCount) {
}
inline uint32_t hash (uint32_t key) {
- /* this may benifit from a proper hash function */
+ /* this may benefit from a proper hash function */
return key%ARBITRARY_HASH_BIN_COUNT;
}
OpenPOWER on IntegriCloud