From 7a2bdde0a0eebcd2125055e0eacaca040f0b766c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 15 Apr 2011 05:18:47 +0000 Subject: Fix a ton of comment typos found by codespell. Patch by Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/libprofile/OptimalEdgeProfiling.c | 2 +- runtime/libprofile/PathProfiling.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime') diff --git a/runtime/libprofile/OptimalEdgeProfiling.c b/runtime/libprofile/OptimalEdgeProfiling.c index eb7887b2ae..947da53260 100644 --- a/runtime/libprofile/OptimalEdgeProfiling.c +++ b/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/runtime/libprofile/PathProfiling.c b/runtime/libprofile/PathProfiling.c index 651e63cbdd..29671f53d6 100644 --- a/runtime/libprofile/PathProfiling.c +++ b/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; } -- cgit v1.2.3