diff options
author | Duncan Sands <baldrick@free.fr> | 2010-01-07 09:05:26 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-01-07 09:05:26 +0000 |
commit | 452394d812816b05f626d414ce6dbd3b87d45a73 (patch) | |
tree | 8218cb99dee5e075e7cb2ed0c0b1a063c4d341fc /include/llvm/Support/MathExtras.h | |
parent | 5d8ea117a07b53c4bbabbc6912e3c54b50e1a51c (diff) | |
download | external_llvm-452394d812816b05f626d414ce6dbd3b87d45a73.zip external_llvm-452394d812816b05f626d414ce6dbd3b87d45a73.tar.gz external_llvm-452394d812816b05f626d414ce6dbd3b87d45a73.tar.bz2 |
Correct spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/MathExtras.h')
-rw-r--r-- | include/llvm/Support/MathExtras.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/MathExtras.h b/include/llvm/Support/MathExtras.h index 438b021e..fa12416 100644 --- a/include/llvm/Support/MathExtras.h +++ b/include/llvm/Support/MathExtras.h @@ -160,7 +160,7 @@ inline unsigned CountLeadingZeros_32(uint32_t Value) { #else if (!Value) return 32; Count = 0; - // bisecton method for count leading zeros + // bisection method for count leading zeros for (unsigned Shift = 32 >> 1; Shift; Shift >>= 1) { uint32_t Tmp = Value >> Shift; if (Tmp) { @@ -197,7 +197,7 @@ inline unsigned CountLeadingZeros_64(uint64_t Value) { if (sizeof(long) == sizeof(int64_t)) { if (!Value) return 64; Count = 0; - // bisecton method for count leading zeros + // bisection method for count leading zeros for (unsigned Shift = 64 >> 1; Shift; Shift >>= 1) { uint64_t Tmp = Value >> Shift; if (Tmp) { |