diff options
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r-- | src/jit/gentree.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h index 4018188607..a1787f1d72 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 } |