diff options
Diffstat (limited to 'src/vm/ngenhash.inl')
-rw-r--r-- | src/vm/ngenhash.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/ngenhash.inl b/src/vm/ngenhash.inl index 5df567fd5b..de16e38bc1 100644 --- a/src/vm/ngenhash.inl +++ b/src/vm/ngenhash.inl @@ -151,7 +151,7 @@ void NgenHashTable<NGEN_HASH_ARGS>::BaseInsertEntry(NgenHashValue iHash, VALUE * pVolatileEntry->m_iHashValue = iHash; // Compute which bucket the entry belongs in based on the hash. - DWORD dwBucket = iHash % VolatileLoad(&m_cWarmBuckets); + DWORD dwBucket = iHash % m_cWarmBuckets; // Prepare to link the new entry at the head of the bucket chain. pVolatileEntry->m_pNextEntry = (GetWarmBuckets())[dwBucket]; |