diff --git a/src/coreclr/vm/codeman.h b/src/coreclr/vm/codeman.h index 1f13e6e71c0f92..650d9ad351e440 100644 --- a/src/coreclr/vm/codeman.h +++ b/src/coreclr/vm/codeman.h @@ -1550,7 +1550,7 @@ class RangeSectionMap for (uintptr_t i = 0; i < entriesPerMapLevel; i++) { - if (level[i].IsNull()) + if (!level[i].IsNull()) { EnumMemoryRangeSectionMapLevel(flags, *level[i].VolatileLoad(pLockState), pLockState); }