Cleanup hashBvGlobalData
authorMike Danes <onemihaid@hotmail.com>
Sat, 16 Jun 2018 19:21:40 +0000 (22:21 +0300)
committerMike Danes <onemihaid@hotmail.com>
Sat, 30 Jun 2018 19:34:09 +0000 (22:34 +0300)
commit5627d1ca14f2b9a02277b81c52f25c3d5e440e49
tree7705787d517459252a713c615dc996d6eb5aa446
parent4668f5973cd92bcc3000c0490e81d6d12afc09fe
Cleanup hashBvGlobalData

Each compiler object contains a hashBvGlobalData that's 80 bytes in size. Only 16 bytes are actually used - the hash and node free lists.
* hbvFreeVectorList is supposed to be used by hashBv::freeVector but nothing calls that and getNewVector does not attempt to use the free list
* hbvHashSizeLog2 is always 0
* hashBvNextIterator is used only in HbvNext and that function is never used

Commit migrated from https://github.com/dotnet/coreclr/commit/235bc725acdf8a66b19f1c51cfe83f573562f80d
src/coreclr/src/jit/hashbv.cpp
src/coreclr/src/jit/hashbv.h