summaryrefslogtreecommitdiff
path: root/src/jit/gentree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r--src/jit/gentree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h
index 08cc26473f..01878a1768 100644
--- a/src/jit/gentree.h
+++ b/src/jit/gentree.h
@@ -2649,8 +2649,7 @@ struct GenTreeIndex: public GenTreeOp
gtStructElemClass(nullptr) // We always initialize this after construction.
{
#ifdef DEBUG
- static ConfigDWORD fJitSkipArrayBoundCheck;
- if (fJitSkipArrayBoundCheck.val(CLRConfig::INTERNAL_JitSkipArrayBoundCheck) == 1)
+ if (JitConfig.JitSkipArrayBoundCheck() == 1)
{
// Skip bounds check
}