Fix BitSetTraits comments
authorMike Danes <onemihaid@hotmail.com>
Sat, 14 Oct 2017 09:35:11 +0000 (12:35 +0300)
committerMike Danes <onemihaid@hotmail.com>
Sun, 15 Oct 2017 10:29:45 +0000 (13:29 +0300)
GetAllocator is long gone. 2 less references to IAllocator...

src/jit/bitset.h
src/jit/compilerbitsettraits.h

index 4eae519..6357ee7 100644 (file)
@@ -132,7 +132,7 @@ FORCEINLINE unsigned BitSetSupport::CountBitsInIntegral<unsigned>(unsigned c)
 //
 //    typename BitSetTraits:
 //      An "adapter" class that provides methods that retrieves things from the Env:
-//        static IAllocator* GetAllococator(Env):   yields an "IAllocator*" that the BitSet implementation can use.
+//        static void* Alloc(Env, size_t byteSize): Allocates memory the BitSet implementation can use.
 //        static unsigned    GetSize(Env):          the current size (= # of bits) of this bitset type.
 //        static unsigned    GetArrSize(Env, unsigned elemSize):  The number of "elemSize" chunks sufficient to hold
 //                                                                "GetSize". A given BitSet implementation must call
index d0436f4..27a3bdd 100644 (file)
@@ -17,7 +17,7 @@
 // The classes in this file define "BitSetTraits" arguments to the "BitSetOps" type, ones that assume that
 // Compiler* is the "Env" type.
 //
-// This class just captures the compiler's allocator as an IAllocator.
+// This class just wraps the compiler's allocator.
 //
 class CompAllocBitSetTraits
 {